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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/03/26 15:59:52 UTC

[jira] [Updated] (OAK-2688) Segment.readString optimization

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

Thomas Mueller updated OAK-2688:
--------------------------------
    Attachment: OAK-2688.patch

A first patch (I did not yet measure performance)

> Segment.readString optimization
> -------------------------------
>
>                 Key: OAK-2688
>                 URL: https://issues.apache.org/jira/browse/OAK-2688
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.3.0
>
>         Attachments: OAK-2688.patch
>
>
> The method Segment.readString is called a lot, and even a small optimization would improve performance for some use cases. Currently it uses a concurrent hash map to cache strings. It might be possible to speed up this cache.



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