Attributes Quote by Larry Wall
“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.”
About This Quote
Source Talk: Perl Conference, 1999
Wall humorously suggests encoding optimization intensity as a parameter, highlighting the flexibility of programmable definitions.
In simple terms: Optimization can be treated as a tunable parameter.
Define goals as adjustable parameters.
Themes
Mood
Type
When to use this quote
- code tuning
- performance engineering
- customizable routines
Key Concepts
Questions to Reflect On
- When is too much optimization harmful?
- How to balance performance and readability?
Over‑optimizing may waste resources.