digitalmars.D - Towards better regex - rewind-regex
- Dmitry Olshansky (11/11) Jun 24 2023 So some of you may have heard about
- Dmitry Olshansky (2/13) Jun 24 2023
- Chris Katko (4/15) Jun 24 2023 I just want to say, I really appreciate this work.
- Dmitry Olshansky (8/27) Jun 24 2023 It saddens me greatly to hear about that, suffice it to say new
- Richard (Rikki) Andrew Cattermole (7/9) Jun 25 2023 Templates weren't the issue.
- Sergey (6/17) Jun 25 2023 Comparable with performance in this bench
- Dmitry Olshansky (2/23) Jun 26 2023 Full force:)
So some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance. https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labs
Jun 24 2023
On Saturday, 24 June 2023 at 19:22:26 UTC, Dmitry Olshansky wrote:So some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance.I’ll start - back references, lookaround, zero-width assertions.https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labs
Jun 24 2023
On Saturday, 24 June 2023 at 19:22:26 UTC, Dmitry Olshansky wrote:So some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance. https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labsI just want to say, I really appreciate this work. std.regex was always one of my sore spots because on my netbook it would noticeably implode the compiling time and RAM usage.
Jun 24 2023
On Saturday, 24 June 2023 at 22:51:20 UTC, Chris Katko wrote:On Saturday, 24 June 2023 at 19:22:26 UTC, Dmitry Olshansky wrote:It saddens me greatly to hear about that, suffice it to say new regex doesn’t use templates at all. — Dmitry Olshansky CEO at Glow Labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labsSo some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance. https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labsI just want to say, I really appreciate this work. std.regex was always one of my sore spots because on my netbook it would noticeably implode the compiling time and RAM usage.
Jun 24 2023
On 25/06/2023 1:54 PM, Dmitry Olshansky wrote:It saddens me greatly to hear about that, suffice it to say new regex doesn’t use templates at all.Templates weren't the issue. You want to be very careful with the std.uni tables, don't initialize them at CTFE unless you can help it. This is what my big bad PR for std.regex that was merged recently prevented. A whopping 500ms. Either way, its fixed now thanks to time trace!
Jun 25 2023
On Saturday, 24 June 2023 at 19:22:26 UTC, Dmitry Olshansky wrote:So some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance. https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labsComparable with performance in this bench https://github.com/rust-lang/regex/tree/master/bench :) Recently they "remove D and C++ regex engines Neither of them were particularly competitive" So will be cool to get back in the race :)
Jun 25 2023
On Sunday, 25 June 2023 at 12:06:10 UTC, Sergey wrote:On Saturday, 24 June 2023 at 19:22:26 UTC, Dmitry Olshansky wrote:Full force:)So some of you may have heard about rewind regex, a new radical effort to rebuild and redesign std.regex. I’m collecting feedback, in particular what feature you may want to sacrifice in the name of performance. https://github.com/DmitryOlshansky/rewind-regex — Dmitry Olshansky CEO at Glow labs https://sponsr.ru/glow https://patreon.com/dmitry_glow_labsComparable with performance in this bench https://github.com/rust-lang/regex/tree/master/bench :) Recently they "remove D and C++ regex engines Neither of them were particularly competitive" So will be cool to get back in the race :)
Jun 26 2023