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