wesm commented on PR #13364: URL: https://github.com/apache/arrow/pull/13364#issuecomment-1153300124
I found it curious that `libarrow.so` in release mode with gcc10 got about 4-5% bigger. I did some investigation of the binaries (and added a tool we can refine in cpp/tools/binary_symbol_explore.py) and my conclusion is that the absence of shared_ptr interactions is leading gcc to do more aggressive inlining of various functions, which is resulting in larger code size (but probably also better performance). There's probably a good amount we can do to further reduce the amount of generated code, but it will have to come in follow up work. FTR, here are the largest symbols in libarrow.so right now (from this branch): https://gist.github.com/wesm/51c97a47336da682dedd918bb7b90015 If we want to reduce binary sizes, the comparison kernels and the temporal kernels is the place to start -- 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]
