![]() Remember that optimized code is ALWAYS harder to work with and more brittle, making subsequent feature development difficult or impossible, or incurring massive technical debt on future development. Test on the platform(s) that you care about, and test to the extent that it is worth your effort, and no more. Not only that but performance on platform A will likely be completely different than platform B. Always start by using the profiler:įailure to use the profiler first means you're just guessing, making a mess of your code for no good reason. If you DO have a problem, there is only ONE way to find out. Click to expand.I've never once bothered to use object pooling in my own simple games.ĭO NOT OPTIMIZE "JUST BECAUSE." If you don't have a problem, DO NOT OPTIMIZE!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |