POV-Ray : Newsgroups : povray.general : Script language speed : Re: Script language speed Server Time
20 Nov 2024 04:35:38 EST (-0500)
  Re: Script language speed  
From: ingo
Date: 5 Nov 2001 11:29:28
Message: <Xns9150B1EE4816Bseed7@povray.org>
in news:3be6b7fd$1@news.povray.org Andrew wrote:

> would the scene parse faster if the following were substituted?
> 
> #declare my_array [0] = 0;

Had to try

100000 x #declare I=I+1; in a script versus a loop:

       kernel user   total
loop  : 2.98  10.20  13.19
script: 0.90   4.19   5.09 sec.


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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