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

Very small input buffer (64KB) for creating LZ4 archive #103

Closed
remittor opened this issue Nov 29, 2019 · 2 comments
Closed

Very small input buffer (64KB) for creating LZ4 archive #103

remittor opened this issue Nov 29, 2019 · 2 comments
Labels

Comments

@remittor
Copy link

ctx->inputsize = 1024 * 64;

Recomended use 4MB input buffer.

@mcmilk
Copy link
Owner

mcmilk commented Nov 30, 2019

I did some testing when this code was written, and increasing the buffer sizes there, resulted in speed drops. Thats the reason for this small buffer there.

@mcmilk
Copy link
Owner

mcmilk commented Nov 30, 2019

Can you provide some benchmark which show that your recomended buffer size is better ?

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

No branches or pull requests

2 participants