[Israel.pm] Article: Optimizing Perl

Uri Bruck bruck at actcom.net.il
Thu Oct 28 03:36:22 PDT 2004


Yuval Yaari wrote:

> Shlomo Yona wrote:
> 
>> And the answer is...? (I do remember what MJD answered, I'm
>> curious what yours is).
> 
> 
> Obviously interpolation takes more time.
> 
>> I don't understand the above examples. What's your point?
> 
> 
> He is being cynic.
> The examples on that article are not-so-helpful :)
> Moving from a DB file to a real database (the example that Gabor chose) 
> is a much bigger optimization than moving all your print statements from 
> print "$a" to print $a...
It's the difference between applying optimizing rules line by line, 
ignoring what the program actually does, and optimizing the program.
> 
> An article that talks about optimizing sorting in Perl but doesn't 
> mention our beloved Schwartzian Transform (Randal L. Schwartz), Orcish 
> Maneuver (Joseph N. Hall) or packed-default-sort (Uri Guttman, right?).
> Sheesh...
> 
>> Great. What are your preferences for such a lecture?
> 
> 
> Please talk about handling with huge (way above 200MB) data-structures 
> without getting your machine to swap ... :)
> 
>  --Yuval
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl


-- 
Thanks,
Uri
http://translation.israel.net




More information about the Perl mailing list