mikemccand commented on PR #12633:
URL: https://github.com/apache/lucene/pull/12633#issuecomment-1766041651

   > > With the PR, you unfortunately cannot easily say "give me a minimal FST 
at all costs", like you can with main today. You'd have to keep trying larger 
and larger NodeHash sizes until the final FST size gets no smaller.
   > 
   > If we replace `long[]` with a growable array that inits from small and 
grows smoothly to `nodeHashSize`, can we just pass a big nodeHashSize (e.g. 1L 
<< 63) or a constant `NO_LIMIT` to get a minimal FST ?
   
   I love this idea!  This way the hash grows to consume only as much RAM as 
needed, up until the specified limit, at which point it begins pruning to cap 
the RAM usage at the limit.


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

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