alamb commented on PR #10440: URL: https://github.com/apache/arrow-rs/pull/10440#issuecomment-5093579845
> especially for primitive & boolean arrays, maybe having less of a surface area is actually better since we're just skipping a single len check (well option + len check) > > thoughts? I think personally it would be better to have consistent APIs though the different array types (even if the difference between `try` and `try_new` is minimal for some types). Mostly I think it is better because then the API is more consistent and we don't have to remember why we need to use `unsafe` for StringView but just `new` for BooleanArray, as an example -- 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]
