Francesco Mari created OAK-4923:
-----------------------------------

             Summary: Improve segment deserialization performance
                 Key: OAK-4923
                 URL: https://issues.apache.org/jira/browse/OAK-4923
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Francesco Mari
            Assignee: Francesco Mari


The methods {{readReferencedSegments}} and {{readRecordNumberOffsets}} in 
{{Segment}} compute the returned data every time they are called. While this is 
a very clean implementation, this might force unexpected I/O operations, since 
the "buffer" the data is read from usually is a memory-mapped file.



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

Reply via email to