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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/02/27 15:07:12 UTC

[jira] [Resolved] (OAK-152) More efficient CoreValues

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

Michael Dürig resolved OAK-152.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7

The main issues is fixed. Let's follow up with more specific issues if necessary. 
                
> More efficient CoreValues
> -------------------------
>
>                 Key: OAK-152
>                 URL: https://issues.apache.org/jira/browse/OAK-152
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.7
>
>
> The current CoreValueImpl needs two Java objects per value, one for the CoreValueImpl instance and another for the referenced value object. It also needs an extra int field to store the value type.
> Type-specific value classes could avoid the type field and the extra value object for the primitive types (long, double, boolean).
> We could further reduce memory overhead by maintaining a set of flyweight instances of commonly occurring values (small numbers, common JCR names, etc.).

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