Re: How to increase stack size limit
Re: How to increase stack size limit
- Subject: Re: How to increase stack size limit
- From: Jonas Maebe <email@hidden>
- Date: Thu, 19 Jun 2003 11:34:47 +0200
On donderdag, jun 19, 2003, at 11:23 Europe/Brussels, Dominic Dunlop
wrote:
I really don't understand why you would need so much stack space for
[visualization of LARGE datasets]. What's wrong with malloc()?
You'll need it if the application recurses a lot, with the recursive
functions needing a large amount of space for local variables. It's a
tempting way to code things, if you can work out how: function entry
and exit does automatically what you'd normally have to hand-craft
with malloc() and free(). But execution environments are not normally
set up for such profligate stack use, and may not even support it.
Lazy programmers! Extremely lazy programmers I call them! :) It would
probably even be quite a bit faster as well if they removed the
recursion.
Jonas
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.