POV-Ray : Newsgroups : povray.general : macro speed : Re: macro speed Server Time
4 Aug 2024 20:19:57 EDT (-0400)
  Re: macro speed  
From: Christopher James Huff
Date: 18 Feb 2003 10:22:00
Message: <cjameshuff-31A7DB.10201318022003@netplex.aussie.org>
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

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