Re: Mbox Stream improvement
dog <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.discuss |
|---|---|
| Organization | en savoie, quoi |
| Message-ID | <[email protected]> |
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