[EMAIL PROTECTED] wrote:

lace this implementation with something more efficient? Right now I'm thinking that it would make sense to create a MappedByteBuffer over the whole file and then create windows over that buffer and then glue them back together in the right order... only reading the data when it's finally asked for.


This is under way presently. Note that it really wasn't possible to do this in JDK 1.22 (original POI target JVM when we started) with our use case (streamin->streamout). Now it is.

If RandomAccessFile were used in the first place, I wonder whether it would have worked on JDK 1.22 anyway. RawDataBlock even has a nice framework which would allow the blocks to be cached. :-)

Daniel

--
Daniel Noll

NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax:   (02) 9283 9020

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to