|
![](/i/fill.gif) |
In article <3e51881e$1@news.povray.org>,
"Alastair Murray" <ala### [at] hotmail com> wrote:
> Even when compiling to some form of bytecode the second version would still
> be faster, as calling a function is fairly slow relative to just calling and
> increment a value. (Based upon my experience with Java bytecode).
True that calling a function is slower than not doing so, but the
overhead can be very small. If inline functions are supported, it could
be eliminated completely.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |