New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile-time array literal repeatedly allocated at run-time despite not being used #762
Comments
note: the |
dnadlinger
added a commit
to dnadlinger/ldc
that referenced
this issue
Oct 25, 2014
dnadlinger
added a commit
to dnadlinger/ldc
that referenced
this issue
Oct 25, 2014
dnadlinger
added a commit
to dnadlinger/ldc
that referenced
this issue
Oct 25, 2014
dnadlinger
added a commit
to ldc-developers/dmd-testsuite
that referenced
this issue
Nov 6, 2014
dnadlinger
added a commit
to dnadlinger/ldc
that referenced
this issue
Nov 6, 2014
kinke
pushed a commit
to kinke/ldc
that referenced
this issue
Nov 9, 2014
dnadlinger
added a commit
that referenced
this issue
Nov 10, 2014
Add test case for GitHub issue #762.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test case:
When compiled with LDC (both unoptimized and
-O3 -release
), this calls_d_newarrayU
10000 times. With DMD,_d_newarrayU
is never called. This leads to extremely low performance when using compile-time arrays in code generation for in tight loops.The text was updated successfully, but these errors were encountered: