develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [perl #8860] [not RESOLVED] .pmc extension not documented in require

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
May 12, 2003 00:44
Subject:
Re: [perl #8860] [not RESOLVED] .pmc extension not documented in require
Message ID:
20030512074355.1864.1@bactrian.elixent.com
Rafael Garcia-Suarez <rgarciasuarez@free.fr> writes:
>Slaven Rezic wrote:
>> Nick Ing-Simmons <nick@ing-simmons.net> writes:
>> > 
>> > IIRC we decided that .pmc logic was going to be deprecated or deleted.
>> 
>> Or maybe better to hide the logic behind #ifdef's.
>
>I'd like to hide it behind a "#ifndef PERL_USE_PMC_FILES".

So long as the name of the define and the sense of the #ifn?def 
make sense.

>So the functionality is here unless we want to build a perl tailored
>for compilation speed (CGI applications come to mind.)

For various devious reasons related to selecting versions of modules
I often have lots of things in @INC - the extra (futile) attempts to 
open .pmc slows things down even more.

>
>Or do we really want to kill .pmc files ? That somehow implies
>some lack of support for B::Bytecode. (not untrue.)

Until bytecode loads faster than or is smaller than the .pm file I fail to 
see the point in it. It does not even hide much now that Deparse is so good.


-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


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