Performance

lingwitt at bellsouth.net lingwitt at bellsouth.net
Sun Jan 25 11:59:29 CET 2004


In other words, how can I best eliminate the memory management for a 
program that is producing a lot of temporary numbers?

On 24 Jan 2004, at 5:10 PM, lingwitt at bellsouth.net wrote:

> More specifically, the time is spent doing memory management with 
> free() and malloc().
>
> On 24 Jan 2004, at 5:06 PM, lingwitt at bellsouth.net wrote:
>
>> Before the C++ implementation was mature, I threw together my own 
>> version in which I simply wrapped the C code in C++ code. The bulk of 
>> the time that my programs spend is in calling constructors and 
>> destructors, and I believe that it is really slowing down my program. 
>> Is this a problem with my implementation and would it be best if I 
>> used the official implementation? Excuse me if my question seems 
>> dull, but I don't fully understand the details. Thanks
>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at swox.com
> https://gmplib.org/mailman/listinfo/gmp-discuss
>



More information about the gmp-discuss mailing list