From b269edc857b8bcf53ac3451c35113ad996cadb62 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 11 Apr 2021 20:06:40 -0600 Subject: locale.c: Cache the current LC_CTYPE locale name This is now used as a cache of length 1 to avoid having to lookup up the UTF-8ness as often. This commit also skips doing S_newctype() if the new boss is the same as the old --- makedef.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makedef.pl') diff --git a/makedef.pl b/makedef.pl index 076ce88b8c..e1ccf3a733 100644 --- a/makedef.pl +++ b/makedef.pl @@ -553,6 +553,12 @@ unless ($define{USE_LOCALE_NUMERIC}) { ); } +unless ($define{USE_LOCALE_CTYPE}) { + ++$skip{$_} foreach qw( + PL_ctype_name + ); +} + unless ($define{'USE_C_BACKTRACE'}) { ++$skip{Perl_get_c_backtrace_dump}; ++$skip{Perl_dump_c_backtrace}; -- cgit v1.2.1