From 3d118badf8a1b8d6cfcb6bf98a51ff62b0b0379a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 11 Aug 2022 18:00:47 -0600 Subject: locale.c: Rmv no longer used code; UTF8ness cache What these functions do has been subsumed by code introduced in previous commits, and in a more straight forward manner. Also removed in this commit is the cache of the knowing what locales are UTF-8 or not. This data is now cheaper to calculate when needed, and there is now a single entry cache, so I don't think the complexity warrants keeping it. It could be added back if necessary, split off from the remainder of this commit. --- embedvar.h | 1 - 1 file changed, 1 deletion(-) (limited to 'embedvar.h') diff --git a/embedvar.h b/embedvar.h index 2f392df58e..2165582d25 100644 --- a/embedvar.h +++ b/embedvar.h @@ -170,7 +170,6 @@ #define PL_laststatval (vTHX->Ilaststatval) #define PL_laststype (vTHX->Ilaststype) #define PL_lc_numeric_mutex_depth (vTHX->Ilc_numeric_mutex_depth) -#define PL_locale_utf8ness (vTHX->Ilocale_utf8ness) #define PL_localizing (vTHX->Ilocalizing) #define PL_localpatches (vTHX->Ilocalpatches) #define PL_lockhook (vTHX->Ilockhook) -- cgit v1.2.1