On Thu, 04 Mar 2010 05:00:46 -0500, Lionello Lunesu
<[email protected]> wrote:
On 3-3-2010 23:51, Robert Jacques wrote:
At the cost of forcing every single member function call to do an
additional stack push? DMD doesn't pass args in ECX and EDX for a
reason. Adapting free functions to delegates is a rare enough operation
that making everything else slower to save one function call isn't worth
it.
That's a great point. I hadn't thought about it. Thanks.
L.
No problem. I'd never have thought about it and think it through without
you raising your point. The really odd thing is that 2-word structs are
returned in register, but not sent in registers. Maybe this will change in
x86.