Page 1 of 1

A question of allocation

PostPosted: Mar 14, 2003 @ 7:40pm
by DooMer_MP3

PostPosted: Mar 14, 2003 @ 9:13pm
by refractor

PostPosted: Mar 14, 2003 @ 10:25pm
by DooMer_MP3

PostPosted: Mar 14, 2003 @ 11:43pm
by Velo
boost::pool is pretty nice for fast memory allocation tasks -


In combination with Refractor's suggestions, you should be able to get some pretty decent performance out of this while avoliding the limitation of a fixed-size heap.

However, avoiding any form of allocation or deallocation while in the game loop is always preferable ;)

PostPosted: Mar 15, 2003 @ 3:27am
by Digby

PostPosted: Mar 18, 2003 @ 7:23pm
by DooMer_MP3

PostPosted: Mar 18, 2003 @ 10:31pm
by Digby