wesm commented on PR #13753:
URL: https://github.com/apache/arrow/pull/13753#issuecomment-1205307758

   @pitrou this isn’t a micro-optimization imho — when 1% of your binary size 
is concerned with inline shared_ptr code in this narrow part of the library 
that speaks to a design problem. The kernel registry population is still very 
bloated and should be able to be streamlined further to yield smaller binary 
size. The use of shared pointers also causes extra overhead in kernel 
dispatching and input type checking, but we would need to write some benchmarks 
to quantify that better 
   
   it might be a useful exercise at some point to analyze the disassembly of 
libarrow.so to understand the total contribution of inline shared_ptr code to 
the binary size. There are a lot of places where we inline constructors for 
example where there is probably no need 


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