3 ms·
> This is something that the "premature optimization crowd" (who tend to partially quote Knuth concerning optimization) get wrong But this wasn't premature opt
by chrisseaton 8y ago
> This is something that the "premature optimization crowd" (who tend to partially quote Knuth concerning optimization) get wrong
But this wasn't premature optimisation.
- you found performance was actually a problem in practice
- you used a tool to profile the application for a real workload
- you isolated something to optimise
- you came up with a way to optimise based on the data and your tools
- you tested that the optimisation worked
That isn't premature optimisation. Premature optimisation would have been writing this in the first place without checking anything first.
- deleted 8y ago[deleted]