jpountz commented on PR #13885: URL: https://github.com/apache/lucene/pull/13885#issuecomment-2405765367
Even if it doesn't show up in benchmarks it's disappointing to have these conditions in hot code paths. Could we instead initialize these objects in reset() if `docFreq >= BLOCK_SIZE`? -- 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