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

Reply via email to