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

   Hi,
   I was also thinking about this but came to a bit different setup. My problem 
here is that it is directly linking the code in the Java 20+ code to each other 
and adding instanceof checks.
   
   My idea was to have a new method on IndexInput, returning a ByteBuffer slice 
on RandomAccessInput for the vector that can be passed and also handled in a 
typesafe way without hacking "shortcut" paths between the various components 
removing abstractions which were introduced to separate IO from Lucene logic.
   
   I am out of office the next week, I'd like to participate in the discussion; 
we should not rush anything.


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