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

Add option to limit line size used for hash #2

Open
kljensen opened this issue Jan 23, 2021 · 3 comments
Open

Add option to limit line size used for hash #2

kljensen opened this issue Jan 23, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kljensen
Copy link
Owner

For many applications, only the first N characters of the line are relevant and we needn't send more data to the hashing function. I should add a flag for specifying that N and also add a flag for setting a custom buffer size.

See also https://dev.to/mineichen/writing-a-better-line-iterator-in-rust-443m

@kljensen kljensen added the enhancement New feature or request label Jan 23, 2021
@kljensen kljensen self-assigned this Jan 23, 2021
@kljensen
Copy link
Owner Author

Also see https://crates.io/crates/bytelines

@kljensen
Copy link
Owner Author

@kljensen
Copy link
Owner Author

kljensen commented Jan 23, 2021

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

No branches or pull requests

1 participant