jimczi commented on code in PR #16145:
URL: https://github.com/apache/lucene/pull/16145#discussion_r3322618135
##########
lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java:
##########
@@ -349,8 +359,12 @@ public boolean prefetch(long offset, long length) throws
IOException {
length,
segment -> {
if (segment.isLoaded() == false) {
Review Comment:
This could be avoided too in the random case since we don't use this
information?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]