The idea is to try and re-use initialized state for lz4 the same way @albertlockett did for zstd in https://github.com/apache/arrow-rs/pull/8405 Can we do the same for `lz4_flex::frame::FrameEncoder`, does it help? _Originally posted by @Dandandan in https://github.com/apache/arrow-rs/pull/8405#discussion_r2371587714_