POV-Ray : Newsgroups : povray.beta-test : Restructured Parser wants Testing : Re: Restructured Parser wants Testing Server Time
18 Apr 2024 05:54:40 EDT (-0400)
  Re: Restructured Parser wants Testing  
From: clipka
Date: 25 May 2018 01:45:50
Message: <5b07a30e$1@news.povray.org>
Am 24.05.2018 um 23:05 schrieb Kenneth:

> Yes, that is indeed the case with my own scene: macro calls within #while loops
> (hundreds to thousands of such calls.) AND, in the current state of that
> 2400-code-line scene, there are more comments than actual code! I never cleaned
> it up :-O

Comments are not an issue: They probably don't receive much of a
performance improvement, but they don't prevent other portions of the
loop from getting the best possible performance.

> Maybe my SP (sloppy programming) is another factor that is 'swamping' any
> improvements in the parse time. Mea culpa.

There is no mechanism to penalize sloppy programming.


Macros in a loop /are/ currently a major factor; once I get that sorted
out, your code should get about as much performance improvement as
anyone else's.


Post a reply to this message

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