develooper Front page | perl.perl5.porters | Postings from February 2014

Re: [perl #121119] [PATCH] speed up miniperl @INC searching, buildcustomize

Thread Previous | Thread Next
From:
demerphq
Date:
February 28, 2014 16:20
Subject:
Re: [perl #121119] [PATCH] speed up miniperl @INC searching, buildcustomize
Message ID:
CANgJU+X_Rc=Wx6Op+Ai6prxLNBGrK6Wc2tw9N1X76M0KtWYXog@mail.gmail.com
On 28 February 2014 16:47, Nicholas Clark <nick@ccl4.org> wrote:
> On Tue, Feb 04, 2014 at 02:35:23PM -0800, Tony Cook via RT wrote:
>> On Mon Feb 03 23:34:31 2014, bulk88 wrote:
>> > 1. disabling pmc in miniperl can be done for all OSes, there is also
>> > the PERL_IS_MINIPERL macro, so no need to -D it
>>
>> Not trivially, platforms which use Makefile.SH use the same pp_ctl$(O) for both miniperl and the final perl.
>>
>> We'd need to what's done with op.c/opmini.c and perl.c/perlmini.c, and I don't think it's worth it.
>
> I'm not convinced that it's worth it either, given that
>
> 1) unlike Win32, it's not trivial to do this due to the re-use of pp_ctl$(o)
> 2) there doesn't seem to be any noticeable speed hit on *nix
>
>> > 2. ${^WIN32_SLOPPY_STAT} for Win32 miniperl only
>> >
>> > 3. /lib first on Win32 miniperl only
>
> These seem reasonable, but I don't even know how to do the first, so don't
> know how easy it is.

${^WIN32_SLOPPY_STAT}=1 if $O eq WINDOWS_O;

Yves

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