/gofmt-issue.go Secret
Last active
September 22, 2015 21:10
Revisions
-
Roman Savelyev revised this gist
Sep 22, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Original file line Diff line number Diff line change @@ -8,6 +8,6 @@ func BenchmarkSearchByRolling(b *testing.B) {
func BenchmarkSearchInArray(b *testing.B) { func BenchmarkSearchInArray(b *testing.B) { for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ { sort.SearchInts(arr, i&maxKeys) } } } } -
Roman Savelyev created this gist
Sep 22, 2015 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Original file line Diff line number Diff line change @@ -0,0 +1,13 @@ package gofmt_bug
func BenchmarkSearchByRolling(b *testing.B) { for i := 0; i < b.N; i++ { sigs.Get(uint32(i & maxKeys)) } }
func BenchmarkSearchInArray(b *testing.B) { for i := 0; i < b.N; i++ { sort.SearchInts(arr, i & maxKeys) } }