7
Anakata
130d

At what point do you stop overthinking random code optimizations and move on to the next task?

Comments
  • 6
    now
  • 3
    I usually go with, first make it work then make it go fast if necessary, preferrably you should get a benchmark from the first solution so you can actually prove the improvement
  • 3
    If you're not measuring performance, you're not optimising. If you don't have a target performance, there's no need to optimise, so just make it work. Otherwise, if you're actually working on a performance critical piece of work, you need to be profiling, then it's only worth optimizing the top few functions in terms of runtime cost.
  • 0
    When it doesn’t matter anymore e.g the impact on user experience is irrelevant
Add Comment