brancz opened a new pull request, #10248: URL: https://github.com/apache/arrow-rs/pull/10248
# Which issue does this PR close? - Closes https://github.com/apache/arrow-rs/issues/10247 # What changes are included in this PR? Benchmark and optimization. # Are these changes tested? Benchmark: `cargo bench -p arrow --bench cast_kernels --features test_utils -- "cast nested dict to dict"` Before (unpack inner values): ``` cast nested dict to dict time: [12.148 µs 12.217 µs 12.283 µs] ``` After (compose indices, reuse inner values): ``` cast nested dict to dict time: [2.7624 µs 2.7679 µs 2.7754 µs] change: [−77.294% −77.149% −77.001%] (p = 0.00 < 0.05) Performance has improved. ``` ~4.4x faster # Are there any user-facing changes? No, just an optimization. @alamb @Jefffrey -- 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]
