Given:
Say that EventXObj is a javascript object that has many attributes and some methods.
The XObj event can be associated with a simple line identifier as follows.
[ "id1" : Event1Obj , "id2": Event2Obj, ..., "id1000": Event1000Obj ]
And we want to imagine how one PlaceXObject can contain many events.
QUESTION:
As for below, does script A make much more memory than script B?
Scenario A
PlaceX.events = [ "id1", "id2", "id75", ... ]
Scenario b
PlaceX.events = [ Event1Obj, Event2Obj, Event75Obj, ... ]
b_dev source share