|
|
In article <3fad31ab@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Rune <run### [at] runevisioncom> wrote:
> > Now the question is: Is the 9% speed increase worth the hassle with the
> > backwards compatibility issue? I'm not for or against, I just want to
> > make sure that the issue is being considered.
>
> Probably not worth.
>
> To get a speed boost you can simply copy the macro from the include
> file to your scene file. This should noticeably increase its speed due
> to how POV-Ray parses macros in include files.
A speed boost, but for a different reason. This new version is indeed
faster (by 12% by my measurements...call it 10%). It's also shorter and
easier to understand. I doubt there would be very many scenes that would
be adversely affected. The macro versions defined could be made
conditional on the POV-Ray #version, or just left alone with slightly
modified names. It's a small improvement, but I think it would be worth
it...assuming the macros can be proven to work right. (They seem to,
from my measurements, but I haven't proven it.)
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|