Skip to content
quotesby

About this quote

What does it mean?
Optimizing goto is possible, but I haven’t done it.
In plain terms
Goto could be optimized, but I didn’t bother.
What can you take from it?
Only invest effort where the benefit justifies it.

Where it applies

  • performance tuning
  • legacy code maintenance
  • benchmarking

Putting it to work

  • profile goto usage
  • optimize only if it shows measurable gain

Questions to consider

  • When is it worth optimizing a rarely used feature?
  • How to measure optimization payoff?

Another view

Skipping optimization may leave performance gaps.

More from Larry Wall

  1. I hope I'm not getting so famous that I can't think out load [sic] anymore.

    Permalink to quote #110
  2. A 'goto' in Perl falls into the category of hard things that should be possible, not easy things that should be easy.

    Permalink to quote #112
  3. As with all the other proposals, it's basically just a list of words. You can deal with that... :-)

    Permalink to quote #109

Related quotes

  1. In Armenia, the economic condition is miserable not because we have the Artsakh issue, but because, first of all, we have worked poorly. Since '95, our living …

    Vazgen SargsyanVazgen Sargsyan quote #1
  2. 'I already gave my best, and I have no regrets at all.' (American Idol)

    William HungWilliam Hung quote #1
  3. 'I'm out there to play football. Regardless of what numbers I put up, people talk about not throwing touchdowns, or not getting 300 yards passing. You have to …

    Steve McNairSteve McNair quote #1