although you can't use it (due to Apache's anti-LGPL dogma)
http://blog.buni.org/blog/mbarker/Meldware/2007/06/04/Panto-0-4-release-Still-really-fast
I suggest looking at the technique used by Buni's panto.
"
Parsing a 2MB message 20 times:
Apache Mime4J: 4049ms
Buni Panto: 233ms
"
(such is a somewhat absurd test but it is because I whined when he
checked in a much larger message into CVS). Another thing not here is
the memory requirements. Note that Meldware doesn't keep the entire
mail in memory the way javamail requires..
Jukka Zitting wrote:
Hi,
I've been looking at MIME4J-5 and I have a few ideas on how to speed
up parsing. However, I'm not sure about how the underlying mime stream
should be treated. I would use a lookahead buffer but that would leave
the underlying stream in an undefined state for example when parsing
is stopped with MimeStreamParser.stop(). Is this OK?
BR,
Jukka Zitting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Buni Meldware Communication Suite
http://buni.org
Multi-platform and extensible Email,
Calendaring (including freebusy),
Rich Webmail, Web-calendaring, ease
of installation/administration.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]