POV-Ray : Newsgroups : povray.general : on #undef : on #undef Server Time
30 Jul 2024 10:13:19 EDT (-0400)
  on #undef  
From: [GDS|Entropy]
Date: 23 Mar 2009 22:30:39
Message: <49c845cf@news.povray.org>
I've noticed others posit various ideas on using #undef as a sort of manual 
GC in pov SDL, and was wondering if there is any documentation reflecting 
what it would be effective with generally, if even there IS a general use 
condition, or if it is only efficacious on a per situation basis.

Does pov perform GC on your code effectively (based on #undef docs, it looks 
like it does not), or do you need to explicitly call GC for certian 
scenarios?

For instance, would it be appropriate to call #undef on seperately #declared 
arrays used in a positioning macro after it has reached #end, instead of 
allowing pov to GC after parsing of the entire file completes?

ian


Post a reply to this message

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