http://d.puremagic.com/issues/show_bug.cgi?id=5570


klickverbot <c...@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@klickverbot.at


--- Comment #21 from klickverbot <c...@klickverbot.at> 2012-06-17 14:50:19 PDT 
---
When fixing the remaining issues, please also consider treating dynamic D
arrays as �struct Array(T) { T* ptr; size_t length; }� on x86_64, i.e. passing
them in two integer registers (if available).

This is what GDC and LDC are doing right now, since always passing them on the
stack, like DMD does right now, would require quite a lot of extra effort in
resp. additions to the respective backend code.

There currently is a �pass on the stack for efficiency� comment in
TypeDArray::toArgTypes(), but I can't quite see why this should be true in the
general case, to be honest.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to