All examples By author By category About

chabb

Aho-Corasick algorithm

A rather deceiving experiment.

JS native search performs better (either Regex / indexOf).

Results are displayed in console