Mola-maker commented on issue #12395:
URL: https://github.com/apache/arrow-rs/issues/12395#issuecomment-7135731211

   Yes, that matches what #12403 does now:
   
   - `append` / `append_nulls`: one comparison of the new offset against the 
last one, and an error if it goes backwards
   - `finish`: one check that the last offset is within the key and value 
arrays, before `build_unchecked`
   
   There's no per-element scan, so the overhead is a single comparison per 
`append` and per `finish`.
   
   The docs for building map arrays without validation LGTM.
   


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