Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C# Regex engine is now 3rd fastest in the world (github.com/burntsushi)
5 points by neonsunset on Dec 31, 2023 | hide | past | favorite | 2 comments


I love the flourish of "in the world." I had never thought about it that way. Which makes me wonder if there are any regex engines that aren't in rebar that could conceivably be competitive with the top engines in rebar. I do maintain a WANTED list of engines[1], but none of them jump out to me except for maybe Nim's engine.

Of course, there's also the question of whether the benchmarks are representative enough to make such extrapolations. I don't have a good answer for that one. All models are wrong, but, some are useful.

[1]: https://github.com/BurntSushi/rebar/blob/96c6779b7e1cdd850b8...


It seems the comment reference in the link got trimmed away...or it was OSI layer 8 issue :D

Either way, the data is in this comment: https://github.com/BurntSushi/rebar/pull/10#issuecomment-187...

.NET now takes 3rd place, behind Mr. Gallant's Regex crate and Intel's Hyperscan.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: