Skip to content

Instantly share code, notes, and snippets.

@tufanbarisyildirim
Created April 29, 2020 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tufanbarisyildirim/a711b85bb52ac1669231e0fecefabfa3 to your computer and use it in GitHub Desktop.
Save tufanbarisyildirim/a711b85bb52ac1669231e0fecefabfa3 to your computer and use it in GitHub Desktop.

Before Inlining

BenchmarkNextHash-16                    12962270                83.4 ns/op            20 B/op          2 allocs/op

After Inlining

BenchmarkNextHash-16                    32723619                33.9 ns/op             0 B/op          0 allocs/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment