You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2009/04/20 19:20:47 UTC

[jira] Updated: (JCR-1963) Determination of property state difference should skip binary values

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

Michael Dürig updated JCR-1963:
-------------------------------

    Affects Version/s: 1.5.0

> Determination of property state difference should skip binary values
> --------------------------------------------------------------------
>
>                 Key: JCR-1963
>                 URL: https://issues.apache.org/jira/browse/JCR-1963
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 1.5.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.6.0
>
>
> o.a.j.jcr2spi.state.PropertyState.diffPropertyData, PropertyData) should alway consider two binary values to be different. The current implementation compares two binary values with equals(). An implementation will in general have to do a byte by byte comparison of both values. This is most likely always more expensive than considering the values different right from the start. 

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