develooper Front page | perl.perl5.porters | Postings from June 2022

Regexec optimizations - recursive patterns

June 9, 2022 08:28
Regexec optimizations - recursive patterns
Message ID:
Dear porters,

Few weeks ago I made an optimizations to regexec in case of many capture
groups and recursive calls inside the pattern.

I've found the bottleneck with Intel VTune and after my optimizations which
basically consists replacing the 2 for loops inside regcppush and regccpop
with memcpy - I got about 2x faster times with my application.

Please take a look at my pull request whenever you have time - I thought I
broke the tests last time but it turned out I was only missing the one
about adding myself as an author.


Github issue:

Thanks for your attention,

Alexander Nikolov Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About