develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Directions of perl 5 development - requests from companies

Thread Previous | Thread Next
From:
demerphq
Date:
July 6, 2010 01:30
Subject:
Re: Directions of perl 5 development - requests from companies
Message ID:
AANLkTik2U3m-LM-N6-nR66doTZTjnuWad1nVUSlvOsj4@mail.gmail.com
On 4 July 2010 00:20, Greg Lindahl <greg@blekko.com> wrote:
> On Fri, Jul 02, 2010 at 06:42:04PM -0400, George Greer wrote:
>
>> I, for one, would love to see LLVM-compiled Perl programs or
>> sorta-self-hosted Perl.  PyPy makes me sad.  perl is not always fast
>> enough.
>
> I would be for that, although I'm more enthused by modest incremental
> changes to make Perl faster, which is also something that you see the
> Python community engaging in. It's obvious that Perl has had a lot of
> good perf work done over the years, but I frown a little every time I
> have slow code that I fix by doing elementary things like hosting
> statements out of loops (does Perl do any optimization after
> generating bytecodes?), or using substr instead of split.

I *really* hope you are properly benchmarking the latter, as in every
realistic (read not broken) benchmark that I have seen of substr/index
versus split has substr losing by a wide margin.

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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