Stack allocation
Torbjörn Granlund
tg at gmplib.org
Mon Jun 9 11:47:39 UTC 2014
nisse at lysator.liu.se (Niels Möller) writes:
What stack usage do you get if you disable use of stack allocation?
A good question. My measurements are blunt, using 'ulimit -s'. I don't
know how to measure it accurately without instrumenting the code.
I assume that GMP will use around 1 KiB, since its recursion isn't very
deep.
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-devel
mailing list