Re: [sqlite] Request: SQLITE_USE_MALLOCA

2009-11-10 Thread D. Richard Hipp
On Nov 10, 2009, at 3:19 PM, Shaun Seckman (Firaxis) wrote: > >SQLite currently has a SQLITE_USE_ALLOCA define in > which > it will attempt to use alloca instead of malloc when the usage fits. > One of the common dangers with alloca is that if there is not enough > stack space,

[sqlite] Request: SQLITE_USE_MALLOCA

2009-11-10 Thread Shaun Seckman (Firaxis)
Hello all, SQLite currently has a SQLITE_USE_ALLOCA define in which it will attempt to use alloca instead of malloc when the usage fits. One of the common dangers with alloca is that if there is not enough stack space, bad things happen and it's usually very difficult to debug.