POV-Ray : Newsgroups : povray.general : macro speed : macro speed Server Time
5 Nov 2024 18:25:28 EST (-0500)
  macro speed  
From: Shay
Date: 17 Feb 2003 14:24:47
Message: <3e5136ff@news.povray.org>
The following piece of code has two sections. The first section parses
in 18 seconds on this computer (p3 650m). The second section parses in
only 9 seconds!!

/*
#macro Inc ( Iter )
    #local Iter = Iter + 1;
#end

#local I = 0;
#while ( I < 100000 )
    Inc ( I )
#end
*/


/*
#local I = 0;
#while ( I < 100000 )
    #local I = I + 1;
#end
*/

 -Shay


Post a reply to this message

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