I want to create a publishable and useful regex benchmark. I think making a good one is probably impossible. But people are trying anyway, and I think it's possible to at least make one that is better than what exists today when you search for "regex benchmark."
-
Show this thread
-
But if I did it, there would be some pretty gross inherent bias, because I'd be the author of one of the regex engines being tested. I don't think that should stop me though, it is good to recognize it and try to mitigate it anyway I can.
7 replies 0 retweets 17 likesShow this thread -
Replying to @burntsushi5
Are there existing regex test cases from other engines that you could incorporate, so that you're not creating all of them? Are there known cases that your regex engine doesn't handle well (or at all), that you could consciously include anyway for completeness?
1 reply 0 retweets 1 like
The second one is easy: the answer is yes. And indeed, is true for all regex engines I know about! The existing regex benchmark suite even has them. The first one is a great idea. Surveying regex engine benchmark suites would be a good idea. Still could be selection bias though!
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.