jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2762) Optimize bundle serialization
Date Fri, 08 Oct 2010 15:41:31 GMT

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

Jukka Zitting updated JCR-2762:

    Attachment: 0001-JCR-2762-Optimize-bundle-serialization.patch

I started this by some refactoring and by adding test cases designed to ensure backwards compatibility
of any improvements.

The attached 0001 patch is my first take at actually changing the serialization format. The
patch introduces format version 3 that for now only changes the way JCR names are serialized.
Instead of the index-based serialization that always used eight bytes for all names, I use
a variable-length encoding that uses just a single byte for most of the standard names, and
stores other names inline in the bundle itself. Standard namespaces (including the default
namespace) only take three bits of storage. Typical non-standard names like "content" or "author"
still end up taking about as much space as before.

> Optimize bundle serialization
> -----------------------------
>                 Key: JCR-2762
>                 URL: https://issues.apache.org/jira/browse/JCR-2762
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: 0001-JCR-2762-Optimize-bundle-serialization.patch
> There are a number of ways we could use to make bundle serialization more optimized.
Thomas has already done some work on this in the Jackrabbit 3 sandbox, and I'd like to apply
some of the optimizations also to the trunk.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message