[RFC][PATCH] mini-gmp: move memory allocation out of loops
ilya.yanok at gmail.com
Tue Feb 6 18:21:07 UTC 2018
Hello GMP developers,
I did a small patch for mini-gmp, that removes memory allocations in loop,
when mpz_get_str gets called. This might be undesired behaviour in the
presence of a garbage collector. So I've tried to avoid looped
allocation/deallocation, moving allocation out of loops.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3351 bytes
Desc: not available
More information about the gmp-devel