[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]callvirt change to cscc
From: |
Gopal V |
Subject: |
Re: [DotGNU]callvirt change to cscc |
Date: |
Fri, 15 Nov 2002 16:51:12 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Rhys Weatherley wrote:
> inserts a normal CVM "call" opcode, rather than CVM's "call_virtual".
> The only runtime change is to do a "cknull" before the "call".
I noticed ....
> It doesn't have to do a virtual method lookup for every call - it
> can call the destination method directly.
That's what is also done for every object for every function virtual or
non-virtual .... Which is why JITs are faster .. (I said object and not
variable here !!) ..
> I agree with you. Unfortunately, compatibility trumps efficiency
> in this case. Under MS'es compiler/runtime, the following throws
Well that solves the String.Equals() not throwing NullRef ....
Gopal
--
The difference between insanity and genius is measured by success