Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 302 invoked from network); 30 Nov 2007 18:08:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2007 18:08:08 -0000 Received: (qmail 1931 invoked by uid 500); 30 Nov 2007 18:07:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 1886 invoked by uid 500); 30 Nov 2007 18:07:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 1868 invoked by uid 99); 30 Nov 2007 18:07:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 10:07:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 18:08:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1E8A71422E for ; Fri, 30 Nov 2007 10:07:44 -0800 (PST) Message-ID: <8737526.1196446064725.JavaMail.jira@brutus> Date: Fri, 30 Nov 2007 10:07:44 -0800 (PST) From: "Przemo Pakulski (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1242) Improve serialization of NodeReferences for BundleDB PMs In-Reply-To: <19171384.1196253643020.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547229 ] Przemo Pakulski commented on JCR-1242: -------------------------------------- Any other voices ? Tobias, it looks that you initially put set of bundle PMs into jackrabbit. Do you know maybe why Serializer class is used by BundlePMs instead of BundleBinding/ItemStateBinding classes to serialize node references ? > Improve serialization of NodeReferences for BundleDB PMs > -------------------------------------------------------- > > Key: JCR-1242 > URL: https://issues.apache.org/jira/browse/JCR-1242 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 1.3.3, 1.4 > Reporter: Przemo Pakulski > Priority: Minor > Fix For: 1.4 > > Attachments: JCR-1242.patch > > > BudleDB PMs use currently Serializer class to serialize, deserialize node references. Those methods are unefficient, it use string representation of UUID, namespaceURI and localName. > For UUID rawBytes should be used and for namespaceURI, localName namespaceIndex/nameIndex should be used to improve efficiency of serialization/deserialization. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.