&pn
Greatly improved scanning performance. Rusts .contains() uses too many SIMD instructions compared to Aho-Corasick: https://www.geeksforgeeks.org/dsa/aho-corasick-algorithm-pattern-searching/.
The Linux kernel can be scanned (on a single core of intel's i7-13700HX) in 36 seconds, yielding 14272 notes. Rust's source code can be scanned in 5 seconds, yielding 11495 notes ⚡ .