Welcome to the Monastery | |
PerlMonks |
Re^4: Need to speed up many regex substitutions and somehow make them a here-doc listby Corion (Patriarch) |
on Oct 04, 2022 at 11:23 UTC ( [id://11147244]=note: print w/replies, xml ) | Need Help?? |
In addition to the above good tips, there is a talk by Nicholas Clark (from 2005), "When Perl is not quite fast enough", that explores some other things you can do to make your code a bit faster. But in general, the best optimizations are by optimizing the algorithm, and also first finding out what exactly the slow parts are before you start optimizing.
In Section
Seekers of Perl Wisdom
|
|