Getting rid of dynamic polymorphism and classes

Iain Buclaw ibuclaw at ubuntu.com
Fri Nov 9 13:52:40 PST 2012


On 9 November 2012 21:39, Era Scarecrow <rtcvb32 at yahoo.com> wrote:
> On Friday, 9 November 2012 at 21:06:16 UTC, Ziad Hatahet wrote:
>>
>> Method dispatch is still done at runtime though.
>
>
>  If opDispatch is small&simple can/does it get inlined to the callers?

Potentially yes, but only with optimisation turned on. ;-)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list