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

   > I haven't thought about garbage collecting types before - is it a big 
problem? I guess I'm not sure how often a new data type instance gets created.
   
   Imagine a user reading a Parquet file. Right now non-trivial types get 
automagically created and destroyed through the creation and deallocation of 
Schema objects (note that APIs like `arrow::int64()` return static instances so 
no new types are created). End-users of the Arrow C++ libraries don't have to 
think about this at all right now, so to have explicit owners of types would 
mean a significant amount of API changes and new things to think about when 
using the project. 


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