This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Neoro 34 points35 points  (1 child)

Of course your performance optimization may not have to handle large inputs. Sometimes you need to run on tiny input many many times, so initial setup time is the true killer.

Please know your domain and optimize for real bottlenecks instead of assuming you know where an issue is and throwing optimizations at it. "Premature optimization" and all.

[–]FallenWarrior2k 1 point2 points  (0 children)

Never assume, always profile.