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

Improve performance of adding node under parent

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  rhauch Randall Hauch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: