alloca usage

Kevin Ryde user42 at
Fri Nov 21 09:21:37 CET 2003

Torbjorn Granlund <tg at> writes:
>   if (tsize > BIG)
>     tp = (*__gmp_allocate_func) (tsize);
>   else
>     tp = TMP_ALLOC (tsize)

I think that could be hidden within TMP_ALLOC.  If the big case is
rated UNLIKELY() then it shouldn't be much of a slowdown, only an
increase in code size.

More information about the gmp-devel mailing list