From: "brightbits (Michael Baldry) via ruby-core" Date: 2024-06-07T17:56:02+00:00 Subject: [ruby-core:118245] [Ruby master Misc#20519] Porting regexp to pure ruby? Issue #20519 has been updated by brightbits (Michael Baldry). I was at the kaigi but unfortunately missed that talk! I didn't realise a few weeks later I'd be digging in to it :) Looks like some interesting work has gone in to this area already. I'm going to spend some time looking in to this. Thanks for the detailed response, I really appreciate it! ---------------------------------------- Misc #20519: Porting regexp to pure ruby? https://bugs.ruby-lang.org/issues/20519#change-108743 * Author: brightbits (Michael Baldry) * Status: Feedback ---------------------------------------- Would there be any benefit in porting Regexp from Onigmo to a pure ruby implementation that could benefit from YJIT? Compiling a pattern could be translating to a ruby method which would be optimized by YJIT easily. Has this been explored or any work done around this kind of thing, before I take a look in to it more? Many thanks -- https://bugs.ruby-lang.org/