original-brownbear commented on PR #14156: URL: https://github.com/apache/lucene/pull/14156#issuecomment-2607056900
@jpountz > was introduced had a benchmark that demonstrated an improvement with the current logic Huh those results are quite unexpected I must admit :) When me and Chris reasoned about this, the idea was that `madvise` ("will need") over a range that is fully cached would be the same cost as the `isLoaded` check. If that assumption holds this PR would be a clear winner but it seems that benchmark suggests otherwise? -- 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