alamb commented on PR #12367:
URL: https://github.com/apache/arrow-rs/pull/12367#issuecomment-7110393911

   > Tracking context and ancestry has a non-negligable cost/ The 
implementation attempts to be zero-cost for non-participating users: unobserved 
codecs avoid extension ancestry tracking, callback locking, and payload 
allocation; root-only selections also avoid ancestry tracking. Buffered readers 
borrow payloads, streaming readers buffer observed payloads as they arrive, and 
detailed reader paths are discovered on-demand.
   
   > The aim is to keep added work local to selected contexts and extension 
data. Some bookkeeping remains: optional bindings occupy space, and active 
scopes need state to supply coordinates. A writer hook can also be invoked and 
return no payload. Costs therefore depend on the selected scopes visited as 
well as payloads processed.
   
   This sounds like a good model to me


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