You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you need to loop over and call addObject for each object that you wish to initialize the token field with. This is a little slow (and painful) since it calls the callback methods on each insert, not to mention it needlessly performs several other checks that aren't necessary at the initialization step. I've got, for example, 20 tokens so add initially. It seems to have turned into a bottleneck which can, I'm sure, be optimized if there was just one addObjects method, that skipped the needless repeated checks and added everything in one go.
The text was updated successfully, but these errors were encountered:
guidedways
changed the title
Allow a way to initialize with lots of objects
[ENHANCEMENT] Allow a way to initialize with lots of objects
Jul 21, 2016
Currently you need to loop over and call
addObject
for each object that you wish to initialize the token field with. This is a little slow (and painful) since it calls the callback methods on each insert, not to mention it needlessly performs several other checks that aren't necessary at the initialization step. I've got, for example, 20 tokens so add initially. It seems to have turned into a bottleneck which can, I'm sure, be optimized if there was just oneaddObjects
method, that skipped the needless repeated checks and added everything in one go.The text was updated successfully, but these errors were encountered: