jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2619) improved internal representation of DATE values
Date Mon, 26 Apr 2010 14:28:31 GMT
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
             Fix For: 2.2.0

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.

View raw message