This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid copying the while ebcidic mapping to the stack calling get_a2n()
authorTony Cook <tony@develop-help.com>
Tue, 10 Jun 2014 06:18:34 +0000 (16:18 +1000)
committerTony Cook <tony@develop-help.com>
Wed, 18 Jun 2014 00:47:30 +0000 (10:47 +1000)
commitc30a0cf2fdbe81e28e7b5cd87a818bee7ac46dc8
tree8a3b127f796ff5251d3622f99d0271eae5109cb3
parente0dcdb0a6a47e7be80138333509b94c176bdfbe7
avoid copying the while ebcidic mapping to the stack calling get_a2n()

from 41.6sec to 34.1sec

get_a2n() is called 181540 times by __uni_latin1() which in most cases
doesn't use the whole table.  Other callers tend to use the whole
table, so make a copy.
regen/charset_translations.pl
regen/ebcdic.pl
regen/mk_PL_charclass.pl
regen/mk_invlists.pl
regen/regcharclass.pl
regen/unicode_constants.pl