Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1988

AbstractRecord does inefficient List.indexOf()

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • core 1.4.10, 1.6
    • jackrabbit-core
    • None

    Description

      AbstractRecord keeps a list of already used UUIDs and references
      them by index when used again in a record. Using a List does not
      scale well, when the record grows larger. e.g. a transaction of
      10k nodes takes more than a minute on my machine when the journal
      is enabled. Most of the time is spent doing List.indexOf() in
      AbstractRecord.getOrCreateIndex().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment