Skip to content
quotesby

17 Larry Wall Quotes on Performance

Larry Wall quotes on performance

  1. If you want to program in C, program in C. It's a nice language. I use it occasionally... :-)

    Permalink to quote #9
  2. Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi.

    Permalink to quote #59
  3. It would be possible to optimize some forms of goto, but I haven't bothered.

    Permalink to quote #111
  4. How do Crays and Alphas handle the POSIX problem?

    Permalink to quote #113
  5. 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.

    Permalink to quote #117
  6. I was trying not to mention backtracking. Which, of course, means that yours is 'righter' than mine, in a theoretical sense.

    Permalink to quote #147
  7. Well, hey, let's just make everything into a closure, and then we'll have our general garbage collector, installed by 'use less memory'.

    Permalink to quote #156
  8. It's hard to tune heavily tuned code. :-)

    Permalink to quote #178
  9. Well, I think Perl should run faster than C. :-)

    Permalink to quote #181
  10. Perl should remain fast and intuitive (to the extent that it is :-)

    Permalink to quote #187
  11. Perhaps you should compile your Perl with long doubles one of these megaseconds.

    Permalink to quote #199
  12. str->str_pok |= SP_FBM; /* deep magic */ s = (unsigned char*)(str->str_ptr); /* deeper magic */

    Permalink to quote #246
  13. In computer science, it is said that premature optimization is the root of all evil.

    Permalink to quote #285
  14. I already have too much problem with people thinking the efficiency of a perl construct is related to its length. On the other hand, I'm perfectly capable of changing my mind next week... :-)

    Permalink to quote #296
  15. (Presuming for the sake of argument that it's even *possible* to design better code in Perl than in C. :-)

    Permalink to quote #305
  16. If ease of use was the highest goal, we'd all be driving golf carts.

    Permalink to quote #312
  17. Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.

    Permalink to quote #315