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

Julian Sedding updated OAK-2627:
--------------------------------
    Attachment: OAK-2627.patch

Patch that adds a reference comparison to blobs.

I am not sure if lengths or references should be compared first.

> Optimize equals in AbstractBlob
> -------------------------------
>
>                 Key: OAK-2627
>                 URL: https://issues.apache.org/jira/browse/OAK-2627
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.1.7
>            Reporter: Julian Sedding
>            Priority: Minor
>         Attachments: OAK-2627.patch
>
>
> During some work on the upgrade tool, I discovered tat AbstractBlob's 
> {{equals}} method does not leverage reference comparison.
> While I have not investigated whether this really helps, I suspect it does. 
> This issue is for the consideration of people with a deeper understanding of 
> the system's dynamics.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to