You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/02/23 10:01:10 UTC

[jira] Resolved: (JCR-1988) AbstractRecord does inefficient List.indexOf()

     [ https://issues.apache.org/jira/browse/JCR-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-1988.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Committed patch in revision: 746932

> AbstractRecord does inefficient List.indexOf()
> ----------------------------------------------
>
>                 Key: JCR-1988
>                 URL: https://issues.apache.org/jira/browse/JCR-1988
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: JCR-1988.patch
>
>
> 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().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.