POV-Ray : Newsgroups : povray.general : Parsing question... : Re: Parsing question... Server Time
5 Aug 2024 18:25:21 EDT (-0400)
  Re: Parsing question...  
From: Thorsten Froehlich
Date: 9 Aug 2002 14:07:29
Message: <3d5404e1@news.povray.org>
In article <3d514788@news.povray.org> , "TinCanMan" 
<Tin### [at] hotmailcom> wrote:

> It would appear that addition is quicker, but perhaps someone else should do
> an independent audit.

No, it just happens that the parser checks in a certain order (from a users
point of view, I don't plan to explain how the parser works) and it so
happens that the check for multiplication and addition have to occur if a
specific order to make sure precedence is handled properly.  This says
nothing about speed of multiplication or addition...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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