4 ms·
There is also Ragel [0], but I think that in this context deploying regexes as strings is safer than generating code and deploying that code (unless Ragel could
by edwintorok 7y ago
There is also Ragel [0], but I think that in this context deploying regexes as strings is safer than generating code and deploying that code (unless Ragel could generate webassembly).
[0]: http://www.colm.net/open-source/ragel/ http://www.colm.net/open-source/ragel/
- thurston 7y agoRagel has the advantage that CPU blowups happen at compile time, rather than run-time. Other risks aside, they would have avoided this problem had they been using ragel or something similar to pre-compile their patterns into deterministic machines.
- thurston 7y agoSorry I didn't see the parent you were responding too, so my point is actually the same as you already made. Thanks.