neilconway commented on PR #21101:
URL: https://github.com/apache/datafusion/pull/21101#issuecomment-4107367618

   @coderfender Thanks for the feedback!
   
   I quickly checked 1 and 3 and they don't yield any improvement; I'd suspect 
the compiler will hoist loop-invariant branches like this out of the loop. The 
threshold check should be similar: it should be branch-predicted effectively.
   
   Lmk if you disagree!


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