Subject: Re: [boost] new library (space partitioning)
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2010-08-15 14:49:22


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.