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

Remind count of map and add benchmark #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blight19
Copy link

@blight19 blight19 commented Jul 14, 2023

the old:
BenchmarkCount
BenchmarkCount-8 2150287 514.2 ns/op
the new:
BenchmarkCount
BenchmarkCount-8 393898780 2.755 ns/op

And otherwise ,the insert from
the new
BenchmarkItems-8 278 4242234 ns/op
the old
BenchmarkItems-8 258 4090206 ns/op

Fixes: #143

@blight19
Copy link
Author

#143

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.

performance of count
1 participant