Yet another strike against the current AA implementation
Michel Fortin
michel.fortin at michelf.com
Mon Apr 27 03:25:02 PDT 2009
On 2009-04-27 00:50:23 -0400, dsimcha <dsimcha at yahoo.com> said:
> Output:
> Direct: 2343
> Virtual: 5695
> opApply: 3014
Nice.
Isn't there room for optimisation on the compiler side though? I mean,
the compiler could inline opApply, and while doing so it could notice
that the delegate is constant and inline it too. I suspect that adding
this optimisation would put opApply at the same performance level than
ranges.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list