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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/09/26 23:30:02 UTC

[jira] [Created] (OAK-1050) Remove Blob.sha256()

Jukka Zitting created OAK-1050:
----------------------------------

             Summary: Remove Blob.sha256()
                 Key: OAK-1050
                 URL: https://issues.apache.org/jira/browse/OAK-1050
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


The {{Blob.sha256()}} method can be really expensive as the MicroKernel doesn't keep track of that information and thus the method may result in a full scan of potentially gigabytes of data. Furthermore the method is only used for internal purposes.

Thus I suggest that we remove the method from the public Blob interface and keep the functionality only as an implementation detail for now. We can always bring back the method or something similar when there is real need for it.

--
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