I've borrowed some code Bill Walker (Bald Eagle) posted in the
"Isosurface and f_spiral - bug or feature?" thread started by Ronkar to
demonstrate a couple of parser performance issues/user-optimizations.
1) Comments in inner loops are costly. 2) Functions are often much
faster than macros.
With both, parser performance can be positively affected by how we code.
Perhaps, the parser code itself can better handle comments. Details
and sample code are part of my comment today to the github issue:
https://github.com/POV-Ray/povray/issues/313
Bill P.
Post a reply to this message
|