3 ms·
Note that I also imported regex-redux into rebar: https://github.com/BurntSushi/rebar/tree/master/record/all/2023-10-11#regex-redux https://github.com/BurntSush
by burntsushi 3y ago
Note that I also imported regex-redux into rebar: https://github.com/BurntSushi/rebar/tree/master/record/all/2023-10-11#regex-redux https://github.com/BurntSushi/rebar/tree/master/record/all/2...
It isn't exactly equivalent to the benchmark game's version. The biggest difference is that it doesn't permit parallelism.
For more details on the benchmark model: https://github.com/BurntSushi/rebar/blob/master/MODELS.md#regex-redux https://github.com/BurntSushi/rebar/blob/master/MODELS.md#re...
.NET does well overall in rebar's benchmarks, but less so in regex-redux (in both the benchmark game and in rebar's version of it). Not sure why. I haven't investigated. Of course, this is assuming you aren't using .NET's default interpreter engine. You've got to switch to the no-backtracking or compiled modes to get decent perf.