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

Remove unused buffer allocation #3836

Merged
merged 1 commit into from
Aug 25, 2015
Merged

Remove unused buffer allocation #3836

merged 1 commit into from
Aug 25, 2015

Conversation

DanielMorsing
Copy link
Contributor

The buffer allocation in bz1 was unused and I'm fairly certain that it
was harmful to performance if used. For queries that run through a bz1
block, needing to hold on to a 64kb block is expensive. Better to churn
on the allocator and have the blocks be released when they are unused
than to have 64kb hanging around for each series regardless of size.

Thanks to @jwilder for brainstorming this issue with me.

The buffer allocation in bz1 was unused and I'm fairly certain that it
was harmful to performance if used. For queries that run through a bz1
block, needing to hold on to a 64kb block is expensive. Better to churn
on the allocator and have the blocks be released when they are unused
than to have 64kb hanging around for each series regardless of size.

Thanks to @jwilder for brainstorming this issue with me.
@otoolep
Copy link
Contributor

otoolep commented Aug 25, 2015

If it's unused, nuke it. +1.

@jwilder
Copy link
Contributor

jwilder commented Aug 25, 2015

👍

@DanielMorsing
Copy link
Contributor Author

@benbjohnson

@DanielMorsing DanielMorsing added this to the 0.9.3 milestone Aug 25, 2015
@benbjohnson
Copy link
Contributor

👍

DanielMorsing added a commit that referenced this pull request Aug 25, 2015
Remove unused buffer allocation
@DanielMorsing DanielMorsing merged commit db2bff6 into master Aug 25, 2015
@otoolep
Copy link
Contributor

otoolep commented Aug 25, 2015

@DanielMorsing -- please confirm cherry-pick to 0.9.3 here when it happens.

@DanielMorsing
Copy link
Contributor Author

pushed to 0.9.3 at f30e2d8

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

Successfully merging this pull request may close these issues.

5 participants