|
|
In article <3e51881e$1@news.povray.org>,
"Alastair Murray" <ala### [at] hotmailcom> 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] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|