/[Apache-SVN]
ViewVC logotype

Revision 1371114


Jump to revision: Previous Next
Author: jpountz
Date: Thu Aug 9 09:16:09 2012 UTC (12 years, 3 months ago)
Changed paths: 3
Log Message:
LUCENE-3892: backporting r1371010 and r1371011 to BlockPacked.

I changed the comment on the value of BLOCK_SIZE. Indeed, since PackedInts
encoding/decoding is long-aligned, all numbers of bits per value that are
co-prime with 64 cannot encode/decode less than 64 values per iteration, so the
block size should be at least 64. Switching it to a lower value (eg. 32) should
work but will perform many unnecessary operations in the encoding/decoding step.


Changed paths

Path Details
Directorylucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/blockpacked/BlockPackedPostingsFormat.java modified , text changed
Directorylucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/blockpacked/BlockPackedPostingsReader.java modified , text changed
Directorylucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/blockpacked/BlockPackedSkipWriter.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26