
15 Aug
2010
15 Aug
'10
6:49 p.m.
Mathias Gaunard wrote:
Le 15/08/2010 11:07, Adam Wulkiewicz a écrit :
It strongly depends on used algorithm if you need it or not. If you use some kind of internal, temporary objects you need it. See e.g. http://www.cgg.cvut.cz/members/havran/ARTICLES/ingo06rtKdtree.pdf or http://kesen.realtimerendering.com/Intel-EG07.pdf=
I may be missing something here, but I don't see why the temporary objects in question cannot be stored on the execution stack.
Implementing dynamic memory allocation on the stack could be quite tricky.