Skip to main content
4 events
when toggle format what by license comment
Mar 30, 2017 at 7:41 comment added user96649 Particularly, in case where a single object is using assets, it make sense to store it in that object. But if it's a tons of them, it's best to send them the parameters, as those objects have to be stored, and any more data stored in them will increase the memory usage too much.
Mar 30, 2017 at 5:41 vote accept user96649
Mar 30, 2017 at 5:41 comment added user96649 Thanks you for your answer. I'm going to do a mix of 2 and 3, when it's practical. A global variable just doesn't feel right :)
Mar 26, 2017 at 14:49 history answered Quentin CC BY-SA 3.0