You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/10/08 17:41:31 UTC
[jira] Updated: (JCR-2762) Optimize bundle serialization
[ 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.