diff options
author | Karl Williamson <khw@cpan.org> | 2015-01-12 22:31:07 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-01-13 12:19:59 -0700 |
commit | 2726666d48c2d6d699d0a840da6e9f7a2fdfde22 (patch) | |
tree | 18606efa6f54293d89585b056977a63c44b41ab7 /embed.fnc | |
parent | c0f3a893f19a236736869b0203e771705a22d986 (diff) | |
download | perl-2726666d48c2d6d699d0a840da6e9f7a2fdfde22.tar.gz |
Move unlikely executed macro to function
The bulk of this macro is extremely rarely executed, so it makes sense
to optimize for space, as it is called from a fair number of places, and
move as much as possible to a single function.
For whatever it's worth, on my system with my typical compilation
options, including -O0, the savings was 19640 bytes in regexec.o, 4528
in utf8.o, at a cost of 1488 in locale.o.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1130,6 +1130,7 @@ ApOM |int |init_i18nl14n |int printwarn ApM |char* |my_strerror |const int errnum ApOM |void |new_collate |NULLOK const char* newcoll ApOM |void |new_ctype |NN const char* newctype +ApMn |void |_warn_problematic_locale ApOM |void |new_numeric |NULLOK const char* newcoll Ap |void |set_numeric_local Ap |void |set_numeric_radix |