Skip to content

Commit

Permalink
repeat char does not exist in 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Oct 11, 2018
1 parent 6768dce commit 6799f71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/string/StringBenchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ g["barbarian backtrack"] = @benchmarkable readuntil(seekstart($buffer), $target)
g = addgroup!(SUITE, "repeat")
g["repeat str len 1"] = @benchmarkable repeat(" ", 500)
g["repeat str len 16"] = @benchmarkable repeat("repeatmerepeatme", 500)
g["repeat char 1"] = @benchmarkable repeat(' ', 500)
g["repeat char 2"] = @benchmarkable repeat('α', 500)
if VERSION >= v"v0.7"
g["repeat char 1"] = @benchmarkable repeat(' ', 500)
g["repeat char 2"] = @benchmarkable repeat('α', 500)
end

end # module

0 comments on commit 6799f71

Please sign in to comment.