This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_subst: optimize by not calling utf8_length
authorLoren Merritt <pengvado@videolan.org>
Thu, 14 Jul 2022 00:09:06 +0000 (00:09 +0000)
committerℕicolas ℝ <nicolas@atoomic.org>
Wed, 20 Jul 2022 21:03:07 +0000 (15:03 -0600)
commitbe76ad45a5a937ec83906e666e2318c0351115b4
tree8bc97d8c1b33b15fe81ea192c063f270853b3918
parent7d47ba27dfa1ef9db23c4e6f934b0698d7fd539f
pp_subst: optimize by not calling utf8_length

Length just isn't needed, and often took more cpu-time than the actual regex.
.mailmap
AUTHORS
pp_hot.c
t/re/pat_rt_report.t