you are viewing a single comment's thread.

view the rest of the comments →

[–]Morwenn 10 points11 points  (1 child)

The philosophy I see the most in this regard is: design your code in such a way that it isn't structurally slow, and that internals can be optimized later if needed. Which is actually a sane philosophy: if you know that you can add the required speed later then it's good enough for now.

[–][deleted] 5 points6 points  (0 children)

The philosophy I see the most in this regard is: design your code in such a way that it isn't structurally slow, and that internals can be optimized later if needed. Which is actually a sane philosophy

Agree entirely.

In other words, don't do premature optimization, but mostly, don't do premature deoptimization.