lidavidm opened a new issue, #18:
URL: https://github.com/apache/arrow-nanoarrow/issues/18

   This isn't strictly necessary - but I wonder what you'd think of having 
inline getters, things like
   
   ```c
   int ArrowArrayIsSet(struct ArrowArray* array, int64_t i) {
     // TODO: unions
     if (array->n_buffers == 0) return 0;  // NA
     if (!array->buffers[0]) return 1;     // common optimization
     return ArrowBitGet((const uint8_t*) array->buffers[0], i);
   }
   ```
   
   and other counterparts for the 'easy' appenders. (possibly also written in 
terms of 'unsafe' type-width-specific getters, as with the appenders.)


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to