4 ms·
I'm not sure how useful comparing this to other existing regex implementations is. As the article states, this algorithm supports only a small subset of the fu
by stephenjudkins 16y ago
I'm not sure how useful comparing this to other existing regex implementations is. As the article states, this algorithm supports only a small subset of the functionality of the other implementations.
What's most interesting to me is the massive speedup offered by the JIT, as well as the beauty and simplicity of the regex implementation. Giving readable pure Python code a 1200x speedup is amazing. It's remarkable that it's so much faster than the similarly naive Java implementation.
- elblanco 16y agoTrue, I'm not as interested in the specific implementation in the article vs. some of the other established implementations.