This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp.c: Call subroutine instead of repeat code
authorKarl Williamson <public@khwilliamson.com>
Fri, 11 Nov 2011 17:42:13 +0000 (10:42 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 11 Nov 2011 20:30:59 +0000 (13:30 -0700)
commit623cd299abd625a89c29cda37cda133347df139e
tree96d84dd52edd1a920ccc3621e86d7d768ab2aa22
parent8e058693c493f09b014305b8d011c3b081e9b230
pp.c: Call subroutine instead of repeat code

Now that toLOWER_utf8() and toTITLE_utf8() have the intelligence to skip
going out to swashes for Latin1 code points, it's not so critical to
bypass calling them for these (for speed).  It simplifies things not to
have the intelligence repeated.  There is the additional overhead of two
function calls (minus the branches saved), but these could be avoided if
it comes down to it by making them in-line.
pp.c