You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that rewriting a busy-loop with cast-then-compare (ie BenchmarkU64) instead of compare-then-cast (ie BenchmarkByte) I was getting a noticeable throughput difference.
What did you do?
I noticed that rewriting a busy-loop with cast-then-compare (ie BenchmarkU64) instead of compare-then-cast (ie BenchmarkByte) I was getting a noticeable throughput difference.
Here is a benchmark that shows the difference:
https://play.golang.org/p/gZLNPgrVPn
What did you expect to see?
Same benchmark performance.
What did you see instead?
BenchmarkU64 is >10% faster than BenchmarkByte.
Does this issue reproduce with the latest release (go1.7.4)?
Reproduced with 1.8beta2
System details
The text was updated successfully, but these errors were encountered: