----- Original Message -----
> From: Martin Nowak <[email protected]>
> <[email protected]> wrote:
>
>> I just don't want to move from the current method to something that
> unnecessarily heap-allocates, we already have enough of that.
>>
> What is allocating?
> Are you referring to this http://d.puremagic.com/issues/show_bug.cgi?id=2356?
Yes. Except this would be yet another case to add.
What I am saying is, if we go with the lowering of:
[a:b, c:d] => AALiteral([a,c], [b,d]);
I would like to have this not needlessly allocate the arrays [a, c] and [b, d]
on the heap, since those arrays will be unused after that call. To use the
heap would be a step backwards, since the current AA literal code does not use
it.
-Steve
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals