Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streaming #22

Open
timoxley opened this issue Jan 29, 2015 · 0 comments
Open

streaming #22

timoxley opened this issue Jan 29, 2015 · 0 comments

Comments

@timoxley
Copy link
Owner

Should be able to get constant memory usage if columnify processed the data as a stream rather than loading everything and processing it all in one go.

Plan is:

… analysing the first N lines (100?) to gauge appropriate widths then simply use cell wrapping from then on.
… for larger datasets all the widths are likely going to hit the maximum anyway so this is actually a non-problem [for column widths]

See npm/npm#6477 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant