mikemccand commented on issue #12696:
URL: https://github.com/apache/lucene/issues/12696#issuecomment-1770461719

   Another exciting optimization such a "patch-less" encoding could implement 
is within-block skipping (I believe Tantivy does this).
   
   Today, our skipper is forced to align to block boundaries, so when we skip 
to a given `docid`, we go to the block that may contain this `docid`, decode 
all 128 `int[]`, then linearly scan within those 128 ints.  This is quite a bit 
of overhead for each skip request!
   
   If we could lower that linear scan cost to maybe 16 or 8 or something, the 
conjunctive queries should get even faster.  But perhaps it becomes trickier to 
take advantage of SIMD optimizations if we are decoding a subset of ints, not 
sure.


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