Bill Allombert on Mon, 19 May 2003 16:29:17 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: charpoly using too much stack space !


On Mon, May 19, 2003 at 09:18:50AM -0500, Gonzalo Tornaria wrote:
> On Sun, May 18, 2003 at 06:44:21PM +0200, Karim BELABAS wrote:
> > This patch is quite correct. I have committed to CVS a different one, which
> > fixed a number of minor annoyances [ stack leaks ], and handles stack usage
> > in a less hackish way than previously.
> > 
> > I have not noticed any efficiency loss.
> 
> It's consistently 15% faster for me (in a P4 2.00GHz),
> and it seems to use even less stack than Bill's patch.

Because Karim has cheated and used the heap instead of the stack...

Cheers,
Bill.