POV-Ray : Newsgroups : povray.off-topic : Interesting take on C++ vs others... : Re: Interesting take on C++ vs others... Server Time
6 Sep 2024 01:27:11 EDT (-0400)
  Re: Interesting take on C++ vs others...  
From: Darren New
Date: 4 Jun 2009 00:35:20
Message: <4a274f08$1@news.povray.org>
John VanSickle wrote:
> Pretty much what I'd thought; allocate space for more than one when 
> called, and return a piece of the extra space for later calls.

That's kind of how every allocator works. :-) The difference is Warp's has a 
different pool for each specific size of item, so you don't get 
fragmentation. The first empty you find is always the right size.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.