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

Small performance improvements #533

Merged
merged 3 commits into from
Oct 1, 2020
Merged

Conversation

aaubry
Copy link
Owner

@aaubry aaubry commented Sep 21, 2020

Improves the performance of the following classes:

  • InsertionQueue: Reduces the amount of array copies to zero, in most typical cases;
  • LookAheadBuffer: Always read 1024 bytes at once instead of at most 4.

@aaubry aaubry merged commit cd123f7 into master Oct 1, 2020
@aaubry aaubry deleted the insertion-queue-performance branch October 1, 2020 13:55
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.

2 participants