Dandandan commented on PR #12294:
URL: https://github.com/apache/arrow-rs/pull/12294#issuecomment-6953528009

   I think I considered this sometime ago.
   
   A primary concern is that `thread_local` "leaks" this allocation / context 
per thread.
   
   So even if there is no parquet data being read / written we still have this 
allocation around, which is a bit weird for libraries.
   
   IMO it would be better if we can change the code to reuse the context more 
(across chunks / read operations) instead.


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