jpountz commented on PR #13864: URL: https://github.com/apache/lucene/pull/13864#issuecomment-2402721041
Looking at places where we used `DirectMonotonicReader`, I suspect that the main offender are doc values terms dictionaries, which maintain two `DirectMonotonicReader`s each. However, they only record every 64th and 1024th value respectively, so we could store them as off-heap long[] instead of `DirectMonotonicReader`, and the storage overhead would likely be negligible without the heap overhead of `DirectMonotonicReader.Meta`? -- 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