alloca usage

Kevin Ryde user42 at zip.com.au
Fri Nov 21 09:21:37 CET 2003


Torbjorn Granlund <tg at swox.com> 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