Skip to content

Allow a way to initialize with lots of objects #237

@guidedways

Description

@guidedways

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions