Skip to content

Commit

Permalink
bench
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Apr 4, 2020
1 parent d0bb45e commit 9a45dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/bench.nim
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ bench(re_nums, m):

const n_pattern_nums = regex.re"[0-9]+-[0-9]+-[0-9]+"

benchRelative(nregex_nums, m):
benchRelative(regex_nums, m):
var m2: regex.RegexMatch
for i in 0 ..< m:
discard regex.match(dummyTextNums, n_pattern_nums, m2)
Expand All @@ -55,7 +55,7 @@ bench(re_nums2, m):

const n_pattern_nums2 = regex.re"[0-9]+..*"

benchRelative(nregex_nums2, m):
benchRelative(regex_nums2, m):
var m3: regex.RegexMatch
for i in 0 ..< m:
discard regex.match(dummyTextNums, n_pattern_nums2, m3)
Expand Down

0 comments on commit 9a45dd3

Please sign in to comment.