On 2008-01-25 12:03:15 +0100, Michael Kerrisk wrote:
> So, I'm not quite clear. Are you happy with the new man page
> description of alloca()?

I don't like very much the "Its use is discouraged." without any
information since in practice
  1. it seems to be very well supported,
  2. it can improve the efficiency (for instance, it was completely
     removed from the MPFR trunk for a few days to fix a bug, as it
     was also used for very large memory allocations, but I had to
     re-add it for small allocations since the loss in small precisions
     was important in raw timings, and could still be significant in
     some practical applications).

Perhaps something like:

  This function can improve efficiency in some applications compared
  to malloc()/free(). Otherwise its use is discouraged.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


Reply via email to