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

Improve performance of adding node under parent

    XMLWordPrintable

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.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: MODE

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: