mikemccand commented on issue #12714: URL: https://github.com/apache/lucene/issues/12714#issuecomment-1775711575
I think we can use `ByteBlockPool` to store the `byte[]` slices, just appending a new `byte[]` slice when we store a new suffix. We never delete individual suffixes, but rather discard the entire "secondary" hash map in the double barrel cache, so we could just drop/recycle the `ByteBlockPool` at that point too. -- 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