"Warp" <war### [at] tagpovrayorg> wrote in message
news:3e5150d2@news.povray.org...
|
| And due to how they are parsed the effect is
| even worse if the macro is inside an include file
| instead of the current file. Try it.
|
Woa!!!... 2 min 31 sec. This is very instructive for anyone writing an
include file.
BTW.... the code below:
(include file)
#macro Increment(Add, Loop)
#while (Add < Loop)
#local Add = Add + 1;
#end
#end
(pov file)
#include "[include file]"
#local I = 0;
#while (I < 100000)
Increment (I, 100000)
#end
as expected, only takes the original 9 seconds.
-Shay
Post a reply to this message
|