Updated Go version
This commit is contained in:
parent
b065f56b8e
commit
3b6b87f223
9 changed files with 10 additions and 10 deletions
|
@ -17,7 +17,7 @@ func bench(n int) func(b *testing.B) {
|
|||
return func(b *testing.B) {
|
||||
input := bytes.Repeat(line, n)
|
||||
|
||||
for range b.N {
|
||||
for b.Loop() {
|
||||
token.Tokenize(input)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue