mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
simplify and test for non-optimization
This commit is contained in:
@@ -106,7 +106,7 @@ func BenchmarkMapRange(b *testing.B) {
|
||||
b.StartTimer()
|
||||
|
||||
for i := 0; i < b.N; i++ {
|
||||
for _, _ = range subs {
|
||||
for range subs {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user