develooper Front page | perl.perl5.porters | Postings from November 2011

Re: Autoloading charnames

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
November 24, 2011 06:03
Subject:
Re: Autoloading charnames
Message ID:
CAHhgV8g8TObJAAJs3c96j+WEfOqcPcwdaE8fJ0RRsCEwHBj=RA@mail.gmail.com
On Thu, Nov 24, 2011 at 2:35 PM, Konovalov, Vadim (Vadim)** CTR **
<vadim.konovalov@alcatel-lucent.com> wrote:
> It is well-known adviced practice to use heavy "use something"
> before any threads creation.
>
> I am just wondered, this automated
>  use charnames; # :full or whatever
> - will it be done before threads creation, or at what moment it will be
> called WRT threads?

I assume it'd be done during compile-time, so it shouldn't matter.

> Have you seen how modules dependency in PAR resolved?
>
> There is some heuristic with false positives, and mostly the logic is to
> package more modules than needed, to avoid any misses in packed
> executables, so resulting in bigger executables than needed.

No, but I don't think that avoiding PAR bugs should be a guiding
principle in perl's core design.

> But with proposed new feature things will end up with adding
> "use charnames;" to all PAR-packed executables, thus resulting
> already oversized executables to be even bigger.

Then PAR/Module::ScanDeps needs to add detection for \N{}.

Leon

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