Re: ByteBlockPool class.

2015-08-03 Thread Michael McCandless
On Mon, Aug 3, 2015 at 11:35 AM, elbek kamoliddinov wrote: > Hi Lucene hackers. > I was looking into lucene internals and came across ByteBlockPool class. In > that class I see following static final array: > public final static int[] LEVEL_SIZE_ARRAY = {5, 14, 20, 30, 40, 40, 80, &g

ByteBlockPool class.

2015-08-03 Thread elbek kamoliddinov
Hi Lucene hackers. I was looking into lucene internals and came across ByteBlockPool class. In that class I see following static final array: public final static int[] LEVEL_SIZE_ARRAY = {5, 14, 20, 30, 40, 40, 80, 80, 120, 200}; why and how these numbers are selected? In addition In the