Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to increase stack size limit



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.