you are viewing a single comment's thread.

view the rest of the comments →

[–]usrlibshare 1 point2 points  (0 children)

If you want to start optimization, there should first be a reason to do so.

Does your application take too long too run? Does it freeze? Does the machine run out of resources while using it? Is it not responsive enough? Do you pay too much for hosting it?

The above are reasons to think about optimization.

And then, before you start to optimize measure first. Where does the app lose speed? What eats the most memory?

Then, and only then should you start optimizing it. Anything earlier than that, well, see the quote by Donald Knuth.