cloudflare/lua-aho-corasick — pull request #3 by Mischanix (2014-08-01 02:30:50+00:00)
Title: Direct terminal children of the root will now match properly

This is a bug unlikely to ever be seen, but still a bug. Also, these alterations to Match seem to have made the loop slightly faster (about 5% -- running old/new 60 seconds each) in a [simple (large dictionary) benchmark](https://github.com/Mischanix/lua-aho-corasick/blob/win32-testbed/tests/bench_main.cxx). Looking at the assembly, it looks like this is attributable to a register getting freed up somewhere along the way. (compiler: gcc 4.8.2 x86_64 on Windows; processor: Ivy Bridge i3770k)