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

optimize matching #58

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

dkuku
Copy link
Contributor

@dkuku dkuku commented Nov 3, 2024

I can't guarantee that this is 100% correct solution but all the tests are green.
The best part is in the bench and I think the code is more readable because it fits on the screen:
Screenshot from 2024-11-03 23-12-43
I only split 2 functions - the most popular one where select is and the huge one

@dkuku dkuku changed the title optimize_reserved_matching optimize matching Nov 3, 2024
@shssoichiro
Copy link
Owner

This looks very nice. Just one nitpick then I'm good to merge it.

@shssoichiro shssoichiro merged commit 3c00871 into shssoichiro:master Nov 4, 2024
5 checks passed
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