uschindler commented on PR #16771: URL: https://github.com/apache/lucene/pull/16771#issuecomment-6173082734
> And Java 27 has compact object headers. Reduced headers cause problems with alignment as I can see especially in Arrays since those are just Objects. I am just assuming it so someone check it out. The scoring is done directly on MemorySegmentIndexInput's slices, so the vector multiplication with Panama is done off-heap. So object headers do not matter here. Of course with NIOFSDirectory the data is copied to heap, but that's not the target IO layer for this optimization. All alignment inside index files is mainly targeted around doing access directly on the mmapped data. -- 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]
