Paul Elschot wrote:
I'm working on a memory mapped directory that uses multiple buffers
for large files.

Great!

There will be a small performance hit, as each call to readByte() will need to first check whether it's overflowed the current buffer, right?

While trying some test runs I found that the current version fails a test:

[junit] Testsuite: org.apache.lucene.index.TestCompoundFile

Thanks for testing this!

I'm testing the version with multiple buffers using a smaller maximum
buffer size (1024 * 128), and it does this test in the same way.

You mean it fails too?

I have not yet looked into TestCompoundFile. When it is a good test
case for this, I'll submit the multibuffer version as an enhancement.

Thanks, that would be great.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to