]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
allow streams to marked as exhausted in more cases
authorAlex Coyte <a.coyte@intel.com>
Mon, 30 Jan 2017 22:29:41 +0000 (09:29 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 04:44:53 +0000 (14:44 +1000)
commitbbd64f98ae49e34e6ce405f57b699201ed686b1c
tree02717c6c4d227068f24370cd8f4fbf57a77eef38
parentfbaa0a1b25b5c9992c1bc668297706f45bbbf3d5
allow streams to marked as exhausted in more cases

At stream boundaries, we can mark streams as exhausted if there are no
groups active and there are no other ways to report matches. This allows us
to stop maintaining the history buffer on subsequent stream writes.
Previously, streams were only marked as exhausted if a pure highlander case
reported all patterns or the outfix in a sole outfix case died.
src/hwlm/hwlm.c
src/rose/rose_build_add.cpp
src/rose/rose_build_bytecode.cpp
src/rose/rose_build_compile.cpp
src/rose/rose_build_groups.cpp
src/rose/rose_build_impl.h
src/rose/rose_build_misc.cpp
src/rose/stream.c
src/runtime.c
src/scratch.h
src/util/container.h