POV-Ray : Newsgroups : povray.advanced-users : the POV-ray SDL--similar to Java and/or Python? : Re: the POV-ray SDL--similar to Java and/or Python? Server Time
6 Oct 2024 15:23:07 EDT (-0400)
  Re: the POV-ray SDL--similar to Java and/or Python?  
From: Orchid XP v3
Date: 14 Sep 2006 16:21:53
Message: <4509b9e1$1@news.povray.org>
>> Go through memory, find all the dead objects, and *then* defrag the 
>> whole lot in a single pass. Done.
> 
>   And how is that faster from simply freeing the dead objects? The original
> point was that GC is much faster than freeing each object individually.
> Moving the dead objects around in memory before freeing them isn't going
> to help.

Nooo... move the *live* objects around. Not the dead ones.

And typically you use some kind of algorithm which reduces the amount 
you need to do even that.


Post a reply to this message

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