mcimadamore commented on PR #912:
URL: https://github.com/apache/lucene/pull/912#issuecomment-1325104378

   > More investigation is required to understand where the difference comes 
from.
   
   After playing a bit more with the benchmark, it looks like 1ns is coming 
from the various alignment checks we need to perform - whereas ~0.5ns is coming 
from the segment liveness check. Of course, since this is a single call, the 
cost for these checks cannot be amortized. We can probably improve things a 
little (esp. when there's no alignment involved), but the numbers above reflect 
the fact that the memory segment implementation has more checks, so at the 
nanosecond scale, everything matters of course.


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