alamb opened a new pull request, #7590: URL: https://github.com/apache/arrow-rs/pull/7590
# Which issue does this PR close? - part of https://github.com/apache/arrow-rs/issues/7456 # Rationale for this change @Dandandan noted on https://github.com/apache/arrow-rs/pull/7513/files#r2119136807: > Looking at the code - this doesn't actually really use the TrustedLen optimization. I think it could use the same optimization as MutableBuffer::from_trusted_len # What changes are included in this PR? Use the trusted len iter optimization for extendig PrimitiveBuffers # Are there any user-facing changes? The only place I can see this used now is `take` with fixed size arrays. Thus this may make that somewhat faster (I will run some benchmarks) I think the real value will be in the APIs sketched out in https://github.com/apache/arrow-rs/pull/7513 to append to StringViewBuilder faster -- 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]
