james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Wiederkehr (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (MIME4J-96) Field.parse() should defer parsing until the parsed value is actually requested
Date Sun, 04 Jan 2009 18:57:44 GMT
Field.parse() should defer parsing until the parsed value is actually requested
-------------------------------------------------------------------------------

                 Key: MIME4J-96
                 URL: https://issues.apache.org/jira/browse/MIME4J-96
             Project: JAMES Mime4j
          Issue Type: Improvement
    Affects Versions: 0.5
            Reporter: Markus Wiederkehr
             Fix For: 0.6


Currently the MessageBuilder invokes Field.parse() for every header field of a message. Benchmark
tests have shown that this has a significant impact on performance.

For example, DateTimeField parses the Date header into a java.util.Date object regardless
if this value is ever needed or not.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message