]> granicus.if.org Git - re2c/commit
libre2c: clean up cache after matching in lazy algorithms; small tweaks in benchmark.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 26 Jun 2019 07:56:44 +0000 (08:56 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 26 Jun 2019 10:17:49 +0000 (11:17 +0100)
commit6af3eac67623c77870cde39f0960fdf7242733bb
treec250901afc1641dfe059e20e8262ab617fb400a2
parent8f6a38d37f9945912e32b896e70da8b72bf474e2
libre2c: clean up cache after matching in lazy algorithms; small tweaks in benchmark.

Cleaning up cache may take considerable time (e.g. if cache is a large
std::map), which should be included in the match time.
lib/bench.cc
lib/regexec_nfa_leftmost_trie.cc
lib/regexec_nfa_posix_trie.cc