5 ms·
Well depends on how big and how fast. This worked for me https://github.com/time4tea/glossary/blob/master/README.md https://github.com/time4tea/glossary/blob/m
by time4tea 9y ago
Well depends on how big and how fast.
This worked for me https://github.com/time4tea/glossary/blob/master/README.md https://github.com/time4tea/glossary/blob/master/README.md
Its a very simple Aho-Corasick text search with replacement.
A similar thing in Java using Ropes rather than Strings was also ok, for some value of ok.