C++11 classes

Hans Aberg haberg-1 at telia.com
Wed Nov 16 23:16:20 CET 2011

On 16 Nov 2011, at 12:23, Marc Glisse wrote:

>> and then testing with a conversion of the pi program. In the most optimized version, the overhead is less than 10% relative C or C compile as C++,
> I believe you can get 0 overhead with gmpxx.

The overhead disappeared when adding C++ operators corresponding to mpz_mul_ui() etc. Earlier, integral types were first converted to mpz_t.


More information about the gmp-discuss mailing list