Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 39829 invoked from network); 27 Apr 2010 13:52:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 13:52:57 -0000 Received: (qmail 60107 invoked by uid 500); 27 Apr 2010 13:52:55 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60046 invoked by uid 500); 27 Apr 2010 13:52:55 -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 60005 invoked by uid 99); 27 Apr 2010 13:52:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 13:52:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 13:52:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3RDqVmY002218 for ; Tue, 27 Apr 2010 13:52:32 GMT Message-ID: <24893843.33381272376351971.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 09:52:31 -0400 (EDT) From: "Alexander Klimetschek (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2619) improved internal representation of DATE values In-Reply-To: <27638204.8601272292111967.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861398#action_12861398 ] Alexander Klimetschek commented on JCR-2619: -------------------------------------------- > d) the ISO8601 format is used extensively for serialization > (persistence layer, remoting protocols, xml, etc) If the persistence layer can't (currently) be changed to use the same serialization format (eg. the optimized long) w/o conversion, I agree that the string rep is probably better. > improved internal representation of DATE values > ----------------------------------------------- > > Key: JCR-2619 > URL: https://issues.apache.org/jira/browse/JCR-2619 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core, jackrabbit-spi-commons > Reporter: Stefan Guggisberg > Priority: Minor > Fix For: 2.2.0 > > Attachments: JCR-2619_improved_internal_representation_of_DATE_values.patch > > > DATE values are currently internally represented as java.util.Calendar objects. > Calendar objects have a huge memory footprint (approx 200bytes per instance) > and are mutable. > i suggest to replace the internal DATE representation with a ISO8601 format string > (immutable and approx. 85-90% smaller footprint). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.