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

   ### Description
   
   > Too bad we don't have a writer that uses tiny (like 8 bytes) block at 
first, but doubles size for each new block (16 bytes, 32 bytes next, etc.). 
Then we would naturally use log(size) number of blocks without over-allocating.
   > 
   > But then reading bytes is a bit tricky because we'd need to take discrete 
log (base 2) of the address. Maybe it wouldn't be so bad -- we could do this 
with Long.numberOfLeadingZeros maybe? But that's a bigger change ... we can do 
this separately/later.
   
   From https://github.com/apache/lucene/pull/12604#discussion_r1344639608


-- 
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