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 ATM it's *not* a tiny perf loss. re2 is extremely slow compared to PCRE.
-
-
@pcwalton@GraphenePunk re2 doesn't JIT. Try http://code.google.com/p/regen/ ? Will have startup overhead. For small haystack, use fallback maybe -
@ssylvan@graphenepunk Sounds cool, I should check that engine out :) - 2 more replies
New conversation -
-
-
@pcwalton@GraphenePunk for what inputs? Have both and switch.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.