That said, it'd be easy to prototype with pgx, assuming that compression library exists in the Rust ecosystem too?
[1] https://docs.rs/compress/0.1.2/compress/entropy/ari/index.ht...