mh: Optimize for speed.
* mh/burst.c (transtab): Revamp as a proper translation table. It is indexed by the current state offset by 1 and the last read caracter. (token_num): Remove. (finish_stream, flush_stream): Inline functions. (burst_digest): Change transtab indexing.
Showing
2 changed files
with
271 additions
and
28 deletions
mh/burstfsa.c
0 → 100644
-
Please register or sign in to post a comment