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 MapOf.Range #82

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Optimize MapOf.Range #82

merged 1 commit into from
Nov 2, 2022

Conversation

puzpuzpuz
Copy link
Owner

@puzpuzpuz puzpuzpuz commented Nov 2, 2022

Before:

BenchmarkMapOfRange-8   	 1000000	      1283 ns/op	    779361 ops/s	       0 B/op	       0 allocs/op

After:

BenchmarkMapOfRange-8   	 1241162	       961.4 ns/op	   1040141 ops/s	       0 B/op	       0 allocs/op

@puzpuzpuz puzpuzpuz self-assigned this Nov 2, 2022
@puzpuzpuz puzpuzpuz changed the title Simplify MapOf.Range Optimize MapOf.Range Nov 2, 2022
@puzpuzpuz puzpuzpuz merged commit f52cebc into main Nov 2, 2022
@puzpuzpuz puzpuzpuz deleted the simplify-mapof-range branch November 2, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant