On May 15, 2009, at 11:10 AM, Christopher Wilson wrote:

But it turns out that this is rather slow. What would be some methods
to speed this up?

Consider using the new I/O API's in java.nio.*

From <http://java.sun.com/j2se/1.5.0/docs/guide/nio> :

The new I/O (NIO) APIs introduced in v 1.4 provide new features and improved performance in the areas of buffer management, scalable network and file I/O, character-set support, and regular-expression matching. The NIO APIs supplement the I/O facilities in the java.io package.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to