salvatore-campagna commented on PR #16160:
URL: https://github.com/apache/lucene/pull/16160#issuecomment-4672539552

   Really nice and clever trick. Pushing the query bounds into the encoded 
domain once so the existing SIMD kernel can run unmodified on packed values is 
very clean, and the overflow fallback is a nice escape hatch.
   
   It also got me thinking about other filter pushdown opportunities. Anywhere 
we have an invertible monotone transform between stored and decoded values 
(delta + scale, ordinal dictionaries, scaled values,...) the same idea should 
apply: transform the predicate once on the cold path so the hot path keeps 
working on raw codes.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to