Compression that can be used with mpz_*_raw

Kevin Ryde user42 at
Thu May 13 22:52:25 CEST 2004

David McKen <cic_3_b at> writes:
> Essentially it boils down to, Does anyone know a compression library
> that can work well with GMP?

You can always do an mpz_export and write your own format.

> This brings up another question, are the
> mpz_*_raw functions accessible through the C++ interface? From what I
> can tell they are not.

Yep, they're not.  I guess there'd be a place for that, either as an
mpz_out_raw_ostream, or just overloading mpz_out_raw.  Maybe some c++
experts can say which would be better.

More information about the gmp-discuss mailing list