POV-Ray : Newsgroups : povray.advanced-users : #undef and arrays : Re: #undef and arrays Server Time
30 Jul 2024 14:24:21 EDT (-0400)
  Re: #undef and arrays  
From: Peter Houston
Date: 14 May 1999 04:02:29
Message: <373bca85.0@news.povray.org>
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.


Post a reply to this message

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