Skip to content

Performance: Cache hasOwnedModifications() #28

@unclecheese

Description

@unclecheese

This relatively expensive method gets called in a number of different contexts:

  • Update ChangeSetItem (may no longer be necessary with the new event driven approach)
  • Update CMS actions
  • Update tree flags

In most modification events, it gets called repeatedly against the same record. Seems like an obvious case for a cached result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions