POV-Ray : Newsgroups : povray.general : Pov race results. : Re: Pov race results. Server Time
19 Nov 2024 07:33:48 EST (-0500)
  Re: Pov race results.  
From:
Date: 4 Apr 2002 03:06:19
Message: <k22oaucfog1al5e38660hg1s3h23jub2qf@4ax.com>
On Thu, 4 Apr 2002 07:42:00 -0800, "Shay" <shi### [at] houstonrrcom> wrote:
> I am putting this up as a new topic because it will likely be interesting to
> anyone. I asked earlier today about the best way to use a float to find a
> vector.

I believed you perform such a test. I was relly interested in results.

> I ran each (plus a macro) through a loop 1 million times and recorded the
> parse times:
>
> *Macro*
> Macro was the big loser at 1:31

1 minute 30 sec or 1 hour 30 minutes ?

> *<Calculate_x(), Calculate_y(), Calculate_z()>*
> *ABX pigment function*
> These both parsed in 50 seconds.
>
> Functions as expected are much faster than macros, but no difference in
> parse times over 1 million iterations between three very simple functions
> and one complex function.

Have you considered conversion from 5D to 3D in your test ?
One complex function version has an adventage that it can be passed as one
parameter for manipulation macro. It can speed up macro call I think.

ABX


Post a reply to this message

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