Regular Expression Library Benchmarks

Recently, I was interested in learning about the performance of regular expression implementations, and it was difficult for me to find a lot of useful information.

Its easy enough to test browser regex / javascript performance (lots of tools on the net). The javascript implementation implementation in Chrome and Opera pretty much kills all other major browsers.

But when it comes to the fastest implementation of C ++, java, C #, python, etc. regex, not so many good tests or comparisons.

So what is the fastest regular expression library where full functionality is implemented? (not too worried about backlinks)

+3
source share
1 answer

Although I have not done more than a couple of tests, I believe that the re2 library should have been fast, so I guess it :)

However, to make it a little more constructive. Take a look at this test: http://lh3lh3.users.sourceforge.net/reb.shtml

+5
source

Source: https://habr.com/ru/post/918099/


All Articles