|
|
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
|
|