Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2276

Improve performance of adding node under parent


      The AbstractJcrNode.addChildNode(...) is the method that does the bulk of the work of really creating a new child under a parent node. The current logic always looks for the number of existing children with the same name, which is expensive for parents with lots of children and should be unnecessary only when same-name-siblings are allowed.

      The logic to find the child node definition for the new child needs to be improved to do as much as possible without needing to know the number of children with the same name.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            0 Vote for this issue
            2 Start watching this issue