Larry Wall Quotes on Optimization
-
It would be possible to optimize some forms of goto, but I haven't bothered.
-
As someone pointed out, you could have an attribute that says 'optimize the heck out of this routine', and your definition of heck would be a parameter to the optimizer.
-
It's hard to tune heavily tuned code. :-)
-
Perhaps you should compile your Perl with long doubles one of these megaseconds.
-
And in the limiting case where the optimizer is completely broken because it's not implemented yet, we get to work around that too. Optionally...
-
In computer science, it is said that premature optimization is the root of all evil.
-
Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.