Best way to import without copy

Julien D Arques acc.gccquestions at gmail.com
Wed May 3 14:57:38 CEST 2023


Hi,

I currently use mpz_import, but reading the source code, it appears that
gmp copies the already allocated buffer I give it.
That's double the work, and the said buffer is big.

Is there a correct/reliable way to avoid that?

Thanks


More information about the gmp-discuss mailing list