Skip to content

[Question] frequency of _reparseObj seems like it could be excessive #15

@znewsham

Description

@znewsham

Not a bug, but a question - there are a bunch of places where setValueForPosition is called, including in a loop at the end of the forEachNode function. In the situation that a setValueForPosition necessitates calling _reParseObj - does this have to happen before the (immediately) next call to setValueForPosition executes? E.g., in forEachNode

    // Actually update/remove values as instructed
    Object.keys(updatedValues).forEach((position) => {
      this.setValueForPosition(position, updatedValues[position]);
    });

Could the _reParseObj call be made after all these setValueForPosition are complete?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions