POV-Ray : Newsgroups : povray.binaries.images : Reading things differently. : Re: Reading things differently. Server Time
20 Apr 2024 12:08:19 EDT (-0400)
  Re: Reading things differently.  
From: Kenneth
Date: 18 May 2018 16:30:01
Message: <web.5aff370e6db5d976a47873e10@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> >
> > Absolutely. Every character you type (including whitespace) is a
> > character the scanner has to scan.

For sheer parse-time efficiency, I'm wondering if the number of separate code
lines in a scene also makes a difference. In other words, is this more
efficient...

#declare S=32+64+17;

..... than this:

#declare S=
32
+
64
+
17
;

Does the scanner have to 'scan' the ENTER key's entry, when starting new
lines like this?


Post a reply to this message

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