uschindler commented on PR #12357:
URL: https://github.com/apache/lucene/pull/12357#issuecomment-1583009742

   I am aware of that. The psgong algorithms of the OS do the same in mmap. If 
you read 1023 bytes it might need to read 2 pages from disk.
   
   Maybe do something like: if the size to be read is larger than half of 
buffer size, read jnsligned. Otherwise align.


-- 
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]

Reply via email to