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

Expose HyperLogLogPlusPlus#add(byte[], int offset, int size) #11

Open
16pierre opened this issue Jan 25, 2022 · 0 comments
Open

Expose HyperLogLogPlusPlus#add(byte[], int offset, int size) #11

16pierre opened this issue Jan 25, 2022 · 0 comments

Comments

@16pierre
Copy link

Some callers can have binary representations that look like: byte[], int offset, int size.

The only current access pattern for bytes is HyperLogLogPlusPlus#add(byte[] bytes), which forces such callers to copy bytes. This copy can be avoided because HashFunction exposes HashFunction#hashBytes(byte[] input, int off, int len).

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