lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Earwin Burrfoot <>
Subject Re: Possible IndexInput optimization
Date Sun, 29 Mar 2009 11:47:59 GMT
> Earwin,
> I did not experiment lately, but I'd like to add a general compressed
> integer array to the basic types in an index, that would be compressed
> on writing and decompressed on reading.
> A first attempt is at LUCENE-1410, and one of the choices I had there
> was whether or not to use NIO buffer methods on the index side.
> I started there using these NIO buffer methods, but it seems that
> the explicit byte arrays you're using here could be a good alternative.
> I think my question boils down to whether or not these NIO buffers will
> (in the end) get in the way of similar low level optimizations
> you'd like to see applied here.
> Regards,
> Paul Elschot
In my case I have to switch to MMap/Buffers, Java behaves ugly with
8Gb heaps. I'm thinking of trying to use Short/Int/LongBuffers that
wrap my initial ByteBuffer.

Kirill Zakharenko/Кирилл Захаренко (
Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423
ICQ: 104465785

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message