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

   @mikemccand,
   I checked in main branch, it no longer uses any varhandles in BytesRefHash 
and ByteBlockPool. No idea where the code moved to.
   
   It now uses BytesRefBlockPool, but this one uses BIG ENDIAN byte order (for 
whatever reason). As I no longer know whcih of those ByteFoobar classes in Util 
are used internally and not serialized to disk and which ones are serialized to 
disk I won't change anything for now.
   
   So I restored the PR into the "known state" (it adds native varhandles) and 
changes LZ4 compression to use the native order (which is documented by LZ4 to 
not matter). So this one only improves LZ4.
   
   I have no time to look into the changes in BytesRefHash, so I give it to you 
to figure out where it is "ok" to change from fixed BE or LE order to native 
order, but care must be taken that those byte arrays are never 
persisted/serialized onto index file formats,


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

Reply via email to