POV-Ray : Newsgroups : povray.general : #declaring pre-made macro for identical repeated use? : Re: #declaring pre-made macro for identical repeated use? Server Time
30 Jul 2024 02:29:37 EDT (-0400)
  Re: #declaring pre-made macro for identical repeated use?  
From: Kenneth
Date: 18 Dec 2009 07:25:00
Message: <web.4b2b73c530d097ea65f302820@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> In my experience, whatever the macro does, if it is intended to give always
> the same output, it is always more efficient to keep either macro or its
> output out of the while loop, but inside a union for instance. Otherwise it
> would not make too much difference (except maybe if the macro is very
> large)...

Thanks, Thomas.  In light of what Tor said, I had a mistaken idea of what was
happening when #declaring a pre-made macro. It all makes sense now (hopefully!)

Ken


Post a reply to this message

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