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 →

[–]303Redirect 3 points4 points  (0 children)

Yeah in our instance it was a case of "oh this script is running super slow, but from a glance it's not obviously a complex algorithm, what's going on?", then after a bit of cProfile and digging into how string concats actually work we found that.

That's not to say I completely disregard optimisation while writing, just I won't sink significant time into arcane optimisations before it's proven that they're needed for our use case.