You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/03/05 16:01:21 UTC
[jira] [Created] (OAK-671) Optimise TreeImpl.getBaseState()
Michael Dürig created OAK-671:
---------------------------------
Summary: Optimise TreeImpl.getBaseState()
Key: OAK-671
URL: https://issues.apache.org/jira/browse/OAK-671
Project: Jackrabbit Oak
Issue Type: Improvement
Reporter: Michael Dürig
Priority: Minor
Currently {{TreeImpl.getBaseState()}} calculates the base state of the tree on the fly on each call. As it turns out this method ends up being called by nearly every JCR method call. As recalculation is somewhat expensive since it recursively needs to calculate the base states of all parent trees, an optimisation would be to pre calculate the base state on instance creation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira