pitrou commented on PR #39937:
URL: https://github.com/apache/arrow/pull/39937#issuecomment-1930050165

   > If use switch ,just need 2 branch predicate (kind + check kind type even 
more than 1 in some cases) and 1 branch + type check by get. Use visit just 
need 1 for table dispatch.
   
   This is theoretical reasoning, but it doesn't take into account the 
optimizations that a reasonably sophisticated compiler may be able to achieve. 
This is why, if you want to make performance claims, it is better to back them 
with actual numbers.


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

Reply via email to