mpz_t C++ wrapper
Gabriel Dos Reis
gdr at integrable-solutions.net
Fri May 2 06:29:13 CEST 2008
On Thu, May 1, 2008 at 7:36 AM, Roberto Bagnara <bagnara at cs.unipr.it> wrote:
> Heiko Wundram wrote:
> > but if there's any code base
> > out there using mpz_class extensively (or someone knows of one they can point
> > me at; Google isn't especially helpful here), I'd happily give any interested
> > party access to the source so that they can test how/if my reimplementation
> > fares better for them.
>
> The Parma Polyhedra Library uses mpz_class extensively. However, care has
> been taken to minimize the creation of temporaries. Still, I think it would
> constitute a good benchmark for your code.
> All the best,
>
>
My impression is that the current C++ wrapper already uses template
metaprogramming
to eliminate temporaries; or am I looking at the wrong wrapper?
More information about the gmp-discuss
mailing list