dungba88 opened a new issue, #12744:
URL: https://github.com/apache/lucene/issues/12744

   ### Description
   
   Spawn from https://github.com/apache/lucene/pull/12738
   
   It seems on 
[rehash](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/util/fst/NodeHash.java#L310C1-L310C56)
 we will use an initial bitPerValue set to cover the last node address.
   
   Does that mean every values, including the ones with low-address will use 
the same bpv as the high-address nodes? PagedGrowableWriter already enlarge the 
bpv 
[automatically](https://github.com/apache/lucene/blob/8fa0de2743e87dd264619632978c8dc68323947a/lucene/core/src/java/org/apache/lucene/util/packed/GrowableWriter.java#L86),
 so maybe we could always set the initial bpv to a small value (like 8?)
   
   Let see if the total size is different when making the change
   
   ### Version and environment details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to