jpountz commented on PR #12841:
URL: https://github.com/apache/lucene/pull/12841#issuecomment-1841712905

   @uschindler FYI this is what I'm getting: 
https://gist.github.com/jpountz/be81b1eb93c6118aac65c3679911f1d8. There are two 
files: baseline.txt for the default impl, and contender.txt for the optimized 
impl.
   
   > In general I am not sure if we really need specialization in Mmapdir.
   > We do not even implement readVInt for memory segments. Why should we 
implement it for this complex case?
   
   To be clear, this specialization is not about doing the same kind of 
optimization that the JVM would do by inlining, it's about taking advantage of 
the fact that many of our Directory implementations can do unaligned random 
reads under the hood to decode group-varints more efficiently, fewer 
conditionals specifically.


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