POV-Ray : Newsgroups : povray.general : Efficiency of parsing... : Re: Efficiency of parsing... Server Time
4 Aug 2024 16:12:22 EDT (-0400)
  Re: Efficiency of parsing...  
From: Tim Nikias v2 0
Date: 31 Mar 2003 08:05:20
Message: <3e883d10$1@news.povray.org>
Thanks for the quick suggestion. In case of
(A-1) and (A!=1) there seems to be no difference.
Its probably just a too easy check to make much
difference...


--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

> > Anybody have some insight into this?
>
> I have made similiar tests some time ago but for different expressions.
Look
> into tutorials group.
>
> If parsing is really long than you should consider moving to compiled apps
>
> If possible move conditions outside loops
>
> If possible try predeclared functions for longer expressions
>
> If you want compare two versions of expression then create two scripts
with
> 1.000.000 lines of each expression and measure execution time.
>
> ABX


Post a reply to this message

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