POV-Ray : Newsgroups : povray.advanced-users : #undef and arrays : Re: #undef and arrays Server Time
2 Nov 2024 15:23:13 EDT (-0400)
  Re: #undef and arrays  
From: Bob Hughes
Date: 14 May 1999 08:57:07
Message: <373C0F45.168992C4@aol.com>
Far as I understand it peak memory goes to the highest amount used
overall. The #undef question is possibly another matter but I'm guessing
POV-Ray still counts peak memory as whatever it attains at the fullest
regardless of changing it out over the time of the parse.
Somebody elses turn now to debunk what I've said.


Peter Houston wrote:
> 
> Rainer Mager <-no-### [at] golcom> wrote in message
> <373b9da3.0@news.povray.org>...
> >    I would think that when I #undef the array the objects created after it
> >would be able to use the freed up memory and reduce the peak memory usage.
> >
> 
> I could be wrong, I usually am, but isn't peak memory usage just that, the
> peak or highest the memory reaches for the scene, not the total memory usage
> for the whole scene.  As I see it if you had a short scene with the array in
> it, and then the same array in a scene ten times longer, as long a nothing
> else in the scene uses more memory in one hit, the peak memory usage would
> be the same.
> 
> I'm sure someone will correct me if my understanding of this is wrong.
> 
> Regards,
> 
> Peter H.

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

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