[Speex-dev] Improving memory allocation

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu Mar 3 12:39:19 PST 2005


> alloca() allocates memory in the current stack frame, and works for both 
> gcc and icc.

Another problem I find with alloca is that you cannot control the
alignment. This might cause problem with the SSE code, which requires
16-byte alignment.

	Jean-Marc

-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Universite de Sherbrooke



More information about the Speex-dev mailing list