|
|
|
|
|
by v_lisivka
2605 days ago
|
|
If you discard regexredux, then Rust is faster than C and C++ at average: see average bar at "How many times slower graph" [1]. regexredux program is outlier in Rust, because replacement of a regex in string is slower in regex crate, because author of regex crate chose to implement safer, but slower algorithm. To fix this, regex crate must be updated or replaced. I spent two weekends on this. [1]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/... |
|
I somehow doubt pcre2 is being changed to make the tiny toy C programs run better.
> I spent two weekends on this.
So shouldn't we assume the program performance simply reflects all-those-hours you've spent working on it?