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

Avoid an allocation on Hashtbl.remove #135

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Avoid an allocation on Hashtbl.remove #135

merged 1 commit into from
Dec 10, 2023

Conversation

polytypic
Copy link
Collaborator

@polytypic polytypic commented Sep 23, 2023

This PR avoids an allocation on Hashtbl.remove by using exceptions instead. The performance difference is tiny if any.

@polytypic polytypic force-pushed the tweak-hashtbl branch 15 times, most recently from 9a52c8f to 7f82143 Compare December 10, 2023 15:21
@polytypic polytypic changed the title WIP: Tweak Hashtbl Avoid an allocation on Hashtbl.remove Dec 10, 2023
@polytypic polytypic marked this pull request as ready for review December 10, 2023 16:52
@polytypic polytypic merged commit e2ba10a into main Dec 10, 2023
2 checks passed
@polytypic polytypic deleted the tweak-hashtbl branch December 10, 2023 18:17
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.

1 participant