LiaCastaneda commented on issue #8938:
URL: https://github.com/apache/arrow-rs/issues/8938#issuecomment-3606095434

   you mean keeping the memory pool in something like a  `OnceLock`? that would 
make it easier, I was thinking what would be the concurrency overhead but I 
think the contention bottleneck woud be pretty which the same as passing it 
through parameters, which is increasing the pool size 
[here](https://github.com/apache/arrow-rs/blob/b93fa52e47a83dff130709a6e80a4be5017dbf09/arrow-buffer/src/pool.rs#L104)
 
   
   I guess the only downside is that it would force users to have only one 
memory pool. 


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