bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory management in GMP


From: Kevin Ryde
Subject: Re: Memory management in GMP
Date: Mon, 19 Jul 2004 08:30:32 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Juergen Bullinger <address@hidden> writes:
>
> It
> looks as if GMP produces a lot of memory management overhead in my
> program.

You'll probably want to measure that first to make sure (you can put
some timing in some custom malloc and free functions, or break out the
profiler).

> I wonder if there are
> already some optimized (for GMP) functions which I could use.

Not that I know of.  The speed of the C library varies on different
systems though.  Last time I measured freebsd (the shared libc) it was
disappointingly slow.  There's some notes in tune/README on this.

The efficiency section in the manual has some advice too.

-- 
All followups to address@hidden please.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]