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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/06/05 06:36:59 UTC
[jira] [Commented] (OAK-4428) Optmize RevisionVector methods
[ https://issues.apache.org/jira/browse/OAK-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315772#comment-15315772 ]
Chetan Mehrotra commented on OAK-4428:
--------------------------------------
As can be seen in hot-methods-1.png
* It would better to cache the hashcode of RevisionVector
* Also the equals method would probably benefit from a reference equality check as the RevisionVector instance might be same
> Optmize RevisionVector methods
> ------------------------------
>
> Key: OAK-4428
> URL: https://issues.apache.org/jira/browse/OAK-4428
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: documentmk
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: performance
> Fix For: 1.6
>
> Attachments: hot-methods-1.png
>
>
> {{RevisionVector}} is used in very critical paths and we should look into optimzing some of its critical method
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)