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 20:22:42 EDT (-0400)
  Re: the POV-ray SDL--similar to Java and/or Python?  
From: Warp
Date: 14 Sep 2006 15:11:59
Message: <4509a97e@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> >   The only other alternative is that it performs memory defragmentation
> > before freeing the objects. 

> No. It usually performs memory defragmentation as a concurrent part of 
> freeing the objects.

  If it performs memory defragmentation, that means that memory does get
fragmented (and thus need the defragmentation in the first place). Your
original claim was that there's *no* fragmentation at all and that's why
freeing a group of objects is faster.

> > But that doesn't sound any faster than
> > freeing the objects directly. 

> It depends on the ratio of freed objects to retained objects. If you 
> retain only 2% of the objects you created since the last GC, it's a net win.

  So it's faster only under certain conditions, not all?

-- 
                                                          - Warp


Post a reply to this message

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