summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-04 02:58:44 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-04 02:58:54 -0700
commit7ef09f3db883c42d01e3b1d80f0d2da6ceff9913 (patch)
treeaf370bd4f281a680b9793034f3b5baee1aa43471 /lib/regex
parent40d6f7b5cc0cb9e5de1675a1441ad0dfc0a66bda (diff)
downloadmc-7ef09f3db883c42d01e3b1d80f0d2da6ceff9913.tar.gz
Modernize benchmarks.
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/interp.myr3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/regex/interp.myr b/lib/regex/interp.myr
index c7e8514..2261de0 100644
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -164,7 +164,10 @@ const cleanup = {re
next = thr.next
thrfree(re, thr)
;;
+ re.runq = Zthr
+ re.expired = Zthr
re.nexttid = 0
+ re.nthr = 0
}
const matchfree = {m