[Issue 12751] Avoid heap allocations in some cases of array concatenation
https://issues.dlang.org/show_bug.cgi?id=12751 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --
[Issue 12751] Avoid heap allocations in some cases of array concatenation
https://issues.dlang.org/show_bug.cgi?id=12751 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment #3 from Stanislav Blinov --- I'm guessing the intent on enabling this enhancement left with Kenji Hara, and reminders about it left with bearophile? --
[Issue 12751] Avoid heap allocations in some cases of array concatenation
https://issues.dlang.org/show_bug.cgi?id=12751 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #2 from Kenji Hara --- https://github.com/D-Programming-Language/dmd/pull/4741 --
[Issue 12751] Avoid heap allocations in some cases of array concatenation
https://issues.dlang.org/show_bug.cgi?id=12751 --- Comment #1 from bearophile_h...@eml.cc --- Other basic cases that can be supported: void main() @nogc { int[2] a = [10, 20]; int[3] b = [40, 50, 60]; int[6] c = a ~ 30 ~ b; } Currently DMD 2.066alpha gives: test.d(4,16): Error: cannot use operator ~ in @nogc function main test.d(4,16): Error: cannot use operator ~ in @nogc function main --