On 12/21/06, Marvin Humphrey <[EMAIL PROTECTED]> wrote:

On Dec 18, 2006, at 9:56 PM, David Balmain wrote:

> I think the difference will be very small indeed. But as you say,
> since the function calls are macrofied it really is easy to switch out
> the function call with a macro. The question is, which way to go with
> first. I think we should have it consistent across the board and leave
> this optimization for later. But that is my personal preference and it
> certainly isn't a dealbreaker for me.

The way I've got things set up right now, all methods are virtual, so
two lookups are required to locate the function address.  However,
with another 50 lines of code it's possible to implement "final"
methods, which would be aliases for functions.

This code generator of yours is looking more and more useful. I'll be
very interested to see if it there is a noticable performance
difference with the "final" classes.

--
Dave Balmain
http://www.davebalmain.com/

Reply via email to