classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-discuss] Mbox Stream improvement


From: dog
Subject: Re: [Classpathx-discuss] Mbox Stream improvement
Date: Fri, 20 Sep 2002 08:44:28 +0200
User-agent: Mutt/1.3.28i

dixit Gautam Mani:
> I am using the mbox JavaMail provider. A significant improvement can be
> made while writing messages if the FileOutputStream is wrapped with a
> BufferedOutputStream. Could someone please make this change in the main
> tree? 

erm, it already is wrapped in a BufferedOutputStream - see MboxFolder, line
314.

> I am also keen on contributing towards the project. Any pointers / TODOs
> which need to be worked on?

at the moment, the mbox provider trades size for speed: it reads an entire
mailbox into memory at a time. obviously this strategy won't work for very
large mailboxes.

i would like to keep this implementation which works well and fast for small
mailboxes, plus develop a solution which keeps the minimum amount of data in
memory in order to work with huge mailboxes (heuristics can be used to
decide which strategy to use for any given mailbox).

interested?

failing that, how about writing a maildir and/or mh provider?
-- 
dog
falco | raptor | ukrmma#18
sol lucet omnibus ... praeter anglorum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]