Re: performance too LOW!
Posted: Sun Apr 05, 2015 11:11 am
dont optimize unless you really, really need it
but why? optimizing isn't that hard and it might pay off if one decides to the port the game to mobile devices with the unofficial ports of löveDoctory wrote:dont optimize unless you really, really need it
It is just one of those things that people throw around a lot without giving it much thought. Sure, it is true that Spending 90% of your time optimizing is not a very smart thing to do, but not thinking about it at all will land you in a lot of trouble. It is a very common thing to read in post mortems from developers who actually released a game, that they wish that they spent more time optimizing.jjmafiae wrote:but why? optimizing isn't that hard and it might pay off if one decides to the port the game to mobile devices with the unofficial ports of löveDoctory wrote:dont optimize unless you really, really need it
In programming, everything is a tradeoff. Making the code run faster often means making it less readable. On the other hand, readable code can be done faster easily, but turning "optimized" code into readable is much more time consuming. For that reason, make the code easy to read first, and then add optimizations when you need them. 97% of the time you don't need them.jjmafiae wrote:but why? optimizing isn't that hard and it might pay off if one decides to the port the game to mobile devices with the unofficial ports of löveDoctory wrote:dont optimize unless you really, really need it