This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Avoid a Copy
authorKarl Williamson <khw@cpan.org>
Thu, 14 Nov 2019 20:21:40 +0000 (13:21 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 16 Nov 2019 17:49:19 +0000 (10:49 -0700)
commit5522bcf4a3f8ed387c2b21a4d599473a1eb5f54c
tree80bd3720c9b72354d2c1aa2717a05a51cfa264d4
parentc69b2e4df24f7d7725ae5761b4646214b77523b4
regcomp.c: Avoid a Copy

By reserving a few more bytes at the beginning of the loop, which will
be given back at the end anyway, we can avoid a temporary variable and a
Copy.
regcomp.c