lidavidm commented on PR #13364: URL: https://github.com/apache/arrow/pull/13364#issuecomment-1156511134
If we mostly want to optimize the trivial data types, then why not just resort to `shared_ptr` (or even, `unique_ptr`) for the nested type metadata instead of a global registry/garbage collection? (And perhaps some non-trivial fields are inlined, like say time unit or fixed-size binary length, the same way it's being done in arrow-c, to avoid making certain common nested types require the shared ptr at the cost of structure size (though you could play games with reusing a single field for storage of different types' metadata)) -- 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]
