hzuo commented on PR #12793:
URL: https://github.com/apache/arrow/pull/12793#issuecomment-1095974889

   I would guess it doesn't matter since it should just be sugar.
   
   To be conservative I prefer the latter syntax since that's the usual style 
for indexing into typed arrays (so is likely what the engines use in their own 
benchmarks).
   
   Would benchmark to be sure. Btw, you're probably already aware, but when 
comparing benchmarks, I had to run a few iterations before the performance 
stabilized, even across separate invocations to `yarn perf`:
   ```
   for i in {1..5}; do yarn perf; done
   ```
   


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