[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2024-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #9 from Nick

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 anonymous4 changed: What|Removed |Added Keywords||betterC, performance See Also|

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #7

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com --- Comment #6 from

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 --- Comment #5 from Mike Franklin --- Another way of achieving the same result would be to make a `scope`d dynamic array allocate on the stack --- class C { } void main() { scope C c = new C(); // `c` is allocated on

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Jonathan M Davis changed: What|Removed |Added CC|

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Adam D. Ruppe changed: What|Removed |Added CC|

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 --- Comment #2 from Mike Franklin --- Yes it is unsafe, but not any less safe than void unsafeRecursion(size_t iterations) { if(iterations) { byte[256] buffer; unsafeRecursion(--iterations); } } As

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Nicholas Wilson changed: What|Removed |Added CC|