Slow performance compared to C++, ideas?

Dicebot m.strashun at gmail.com
Sat Jun 8 03:55:36 PDT 2013


On Saturday, 8 June 2013 at 10:34:17 UTC, deadalnix wrote:
> On Saturday, 8 June 2013 at 10:22:42 UTC, Dicebot wrote:
>> On Saturday, 8 June 2013 at 06:33:48 UTC, deadalnix wrote:
>>> ...
>>
>> Btw, are there any reasons why "export" can't be applied on 
>> per-method basis instead of whole classes?
>
> For final method, no problem, but for virtual method, it is 
> either all or nothing, as they share the same virtual table.

I don't see an issue. Non-export virtual methods can be 
implicitly final if compiler/linker finds so. It does not matter 
if they are in virtual table if no virtual table look-up happens. 
Any micro-example to clarify?


More information about the Digitalmars-d mailing list