Whenever I need to optimize and I think I know where to start, I’m wrong. Not always, but close enough.
Measure first. Then optimize. Every time.
Whenever I need to optimize and I think I know where to start, I’m wrong. Not always, but close enough.
Measure first. Then optimize. Every time.
@snarfed.org Wisdom.
@snarfed.org Measure (profile) twice, cut (optimize) once. — Carpenters’ adage (adapted to programming).
@snarfed.org Knuth – “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.”