westonpace opened a new pull request, #13222:
URL: https://github.com/apache/arrow/pull/13222

   According to conbench there was a slight regression on #12957 .  Poking 
around a bit it seems that a static local variable is implemented using some 
kind of global lock (__cxa_guard_acquire / __cxa_guard_release).  On the other 
hand, constructing an empty shared_ptr is cheap (two pointers are set to 0).  
So if we care about performance here we probably don't want `static`.  This may 
be what is causing the conbench issue.


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