edgarrmondragon commented on PR #1035:
URL: https://github.com/apache/arrow-nanoarrow/pull/1035#issuecomment-7197119976

   > [...] one Array being read concurrently by many threads. The lazily 
computed `null_count` and the refcounting of the shallow clones I am wondering 
if it might be a problem
   
   I just added a test specifically for the lazy `null_count`s, i.e. a shared 
array is read concurrently (via slices and per-chuck views) and the null counts 
are checked for each chunk.
   
   I'll see about testing the refcounts. An existing test already kinda checks 
them:
   
   
https://github.com/apache/arrow-nanoarrow/blob/b5511b28e9ce2aa2970617131377e209072842b6/python/tests/test_c_array.py#L149-L189


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