This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables performance improvement
authorKarl Williamson <khw@khw-desktop.(none)>
Sat, 28 Nov 2009 19:04:34 +0000 (12:04 -0700)
committerCraig A. Berry <craigberry@mac.com>
Sat, 28 Nov 2009 23:46:57 +0000 (17:46 -0600)
commit23e33b604408d78c7993c7ba35b0a4323eb9feeb
treeb07cb502855665e0344e6d8896dffb0048cc0749
parent408633379a1452b4e14d7c3b5e80f7dc05ea7986
mktables performance improvement

The attached patch got the easiest performance improvements to mktables.
Hopefully this is good enough for now.

This involved:

1) Nicholas' patch
2) I stored complete_name instead of recomputing it each time.
3) Used $_[xxx] instead of shift in very heavily used subroutines
4) removed trace accidentally left in.

I also changed the misspelled subroutine name discovered by Craig Berry.
I searched for any other misspellings and didn't find any.

Also removed trailing white space that keeps creeping back in, and now
this doesn't generate pod entries if not outputting a pod file, and
clarified warning message if no mktables.lst is present.

I couldn't figure out a way to conditionally use 'no overloading', as
it is called at compile time. ┬áSo I just commented out the old stuff
that will work for 5.8, with a note about using that if you want to
use 5.8
lib/unicore/mktables