Controversial opinion time: The advantages of Thompson NFA regexes are just theoretical and not worth it. PCRE is faster in the real world.
@ssylvan @graphenepunk That'd be an interesting experiment. I don't know of any benchmarks against a good JIT on non-pathological regexes.
-
-
@pcwalton@GraphenePunk "pathological" regexes aren't as uncommon as you think. When it blows up, it goes nuclear, why risk that? -
@ssylvan@graphenepunk In my experience they're uncommon, and why sacrifice performance of the common case to handle uncommon cases? - 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.