zhangxinyao88 commented on issue #11028:
URL: https://github.com/apache/arrow-rs/issues/11028#issuecomment-7149414715

   I’m leaning toward putting `HeapSize` in `arrow-buffer` so custom providers 
can reuse the existing container implementations. The part I’m less sure about 
is shared caches. If two providers use the same cache, counting it in both 
would overstate memory use. Counting it once at the cache owner seems 
reasonable if that cost is included in the same budget.
   
   Does that match how DataFusion accounts for cached page indexes today? Would 
it help to put the prototype in draft #11057 for review, or would a small 
example of two providers sharing a cache be a better next step?


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