develooper Front page | perl.perl5.porters | Postings from March 2013

[perl #117231] using constant loads utf8 unnecessarily

Thread Previous | Thread Next
From:
Olivier Mengué via RT
Date:
March 20, 2013 16:35
Subject:
[perl #117231] using constant loads utf8 unnecessarily
Message ID:
rt-3.6.HEAD-28177-1363797330-1578.117231-15-0@perl.org
Le Mer. Mar. 20 08:53:52 2013, brad a �crit�:
> Right now just loading constant will force utf8 to also be loaded.

This version of constant.pm is also the latest one available on the CPAN
as 1.25.

The major issue is that utf8_heavy.pl is now loaded. 400KB.
99.999% of code use only pure ASCII constant names and this recent
change brings much pain to environments that are memory constrained or
for which initialization time is critical.

As a workaround Maddingue released constant::tiny, but this is not a
general solution.

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117231

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About