Tim Terry wrote:
> I currently maintain a web based email client which uses the JavaMail
> API to interface with POP3 mailboxes. I'm using the standard sun POP3
> provider. I have created a user definable filter for message's subject
> or sender address. I've found that using the 'folder.search(SearchTerm)'
> method to be slow on mailboxes with more than 500 messages.
Before you start to optimize find out what exactly is it that slows
things down. If it is e.g. the POP3 server, than all your optimization
on the client side is a waste of time.
/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/...g/java/gui/faq