summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-01 10:29:04 -0600
committerKarl Williamson <khw@cpan.org>2022-09-01 10:29:04 -0600
commitcd55125d69f5f698ef7cbdd650cda7d2e59fc388 (patch)
treef21f3bdb979558ab7647675432958c65f9eff333 /pod/perlvar.pod
parent992e38c75c3458a29260860388d37ee4204e864e (diff)
parent21afce673d6a6fb9bf757bcdad21ded54f5d351b (diff)
downloadperl-cd55125d69f5f698ef7cbdd650cda7d2e59fc388.tar.gz
Merge branch 'locale.c: Improve newcollate' into blead
newcollate is called when LC_COLLATE is set to a new locale. This series of commits improves its operation Some platforms require LC_CTYPE and LC_COLLATE to be the same locale in order to operate properly. These commits now bring LC_CTYPE into sync with LC_COLLATE for the duration of the calculations. More and better debugging statements are added Memory is allocated when a string is collated. The amount is roughly a linear function of the string length, varying depending on the locale. To save some recalculations, perl calculates and saves coefficients for the current locale's equation once, revising them if necessary. Prior to this commit, this somewhat expensive calculation was done every time the locale changed. Now it is deferred until the first time it is needed.
Diffstat (limited to 'pod/perlvar.pod')
0 files changed, 0 insertions, 0 deletions