[Issue 4240] Array operations on short fixed-length arrays should be inlined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 12 07:50:33 PDT 2010


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


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at metalanguage.com


--- Comment #6 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-07-12 07:50:29 PDT ---
I suggest (and discussed this with Walter too) to strongly move towards making
arrays a library type. This is already happening for hashtables.

The compiler should reduce its role to only (a) translating array syntactic
sugar (e.g. literals) to calls to that library type, (b) CTFE for arrays (which
would be very difficult if CTFE were using the library array type), and (c)
figuring out high-level bulk operations like the one in this bug report and
optimize them.

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


More information about the Digitalmars-d-bugs mailing list