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

AbstractRecord does inefficient List.indexOf()

    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

        1. JCR-1988.patch
          2 kB
          Marcel Reutegger

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: