Midblock size - lookup

No real reason for the midblock to be smaller in lookup slots - so give
the blocks a more consistent size
This commit is contained in:
martinsumner 2017-03-21 17:47:08 +00:00
parent 64e944d9ba
commit 1fdcdf3b37

View file

@ -65,10 +65,10 @@
-include("include/leveled.hrl"). -include("include/leveled.hrl").
-define(MAX_SLOTS, 256). -define(MAX_SLOTS, 256).
-define(LOOK_SLOTSIZE, 128). -define(LOOK_SLOTSIZE, 128). % This is not configurable
-define(LOOK_BLOCKSIZE, {28, 16}). % This is not configurable -define(LOOK_BLOCKSIZE, {24, 32}).
-define(NOLOOK_SLOTSIZE, 256). -define(NOLOOK_SLOTSIZE, 256).
-define(NOLOOK_BLOCKSIZE, {56, 32}). % This is not configurable -define(NOLOOK_BLOCKSIZE, {56, 32}).
-define(COMPRESSION_LEVEL, 1). -define(COMPRESSION_LEVEL, 1).
-define(BINARY_SETTINGS, [{compressed, ?COMPRESSION_LEVEL}]). -define(BINARY_SETTINGS, [{compressed, ?COMPRESSION_LEVEL}]).
% -define(LEVEL_BLOOM_BITS, [{0, 8}, {1, 10}, {2, 8}, {default, 6}]). % -define(LEVEL_BLOOM_BITS, [{0, 8}, {1, 10}, {2, 8}, {default, 6}]).