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 an allocation fast path #372

Open
deadalnix opened this issue Jul 18, 2024 · 0 comments
Open

Add an allocation fast path #372

deadalnix opened this issue Jul 18, 2024 · 0 comments
Labels

Comments

@deadalnix
Copy link
Contributor

When the condition are right (small allocation, no maintenance work to be done, etc...), we should be able to allocate on a fast path that just picks an item from the thread bin, if there is one, and returns it.

When this fails, we fall back on the regular path.

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

1 participant