**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** The benchmarks added in #9209 show a significant overhead when reading data nested in structs from parquet. Profiling shows a simple performance hotspot in [appending individual bits to a `BooleanBufferBuilder`](https://github.com/apache/arrow-rs/blob/7e54bb22389bf9682efb326a573e30380cdca0d8/parquet/src/arrow/record_reader/definition_levels.rs#L165). **Describe the solution you'd like** We can use the new `extend_trusted_len` method introduced in #9137 to optimize this pattern. **Describe alternatives you've considered** **Additional context** <!-- Add any other context or screenshots about the feature request here. -->
Activity
[Parquet] Optimize appending max level comparison in DefinitionLevelD…