From 7258295b51ee7cac64553fcbcee5e51bd204fbbf Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 14 Jul 2018 13:05:52 -0600 Subject: Make global two interpreter variables These variables are constant, once initialized, through the life of a program, so having them be per instance is a waste of time and space --- perl.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'perl.c') diff --git a/perl.c b/perl.c index 86376e30da..50af15dbc7 100644 --- a/perl.c +++ b/perl.c @@ -1166,14 +1166,8 @@ perl_destruct(pTHXx) } /* clear character classes */ - SvREFCNT_dec(PL_utf8_mark); - SvREFCNT_dec(PL_InBitmap); #ifdef USE_LOCALE_CTYPE SvREFCNT_dec(PL_warn_locale); -#endif - PL_utf8_mark = NULL; - PL_InBitmap = NULL; -#ifdef USE_LOCALE_CTYPE PL_warn_locale = NULL; #endif -- cgit v1.2.1