https://issues.dlang.org/show_bug.cgi?id=2356
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #23 from Denis Shelomovskij verylonglogin@gmail.com
2013-10-25 00:45:30 MSD ---
(In reply to comment #22)
Also some duplicates of current issue and duplicates of duplicates of current
issue are now really duplicates of Issue
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Benjamin Thaut c...@benjamin-thaut.de changed:
What|Removed |Added
CC|
/8cd5f790a78e7514e46618d0325e92cbd6e00e48
fix Issue 2356 - array literal as non static initializer generates horribly
inefficient code.
https://github.com/D-Programming-Language/dmd/commit/d4b20baee7a1c9ee8a9271724feb5d1031e773d4
Merge pull request #1883 from 9rnsr/fix2356
Issue 2356 - array literal as non static initializer generates
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #19 from bearophile_h...@eml.cc 2013-04-11 05:26:29 PDT ---
The patch seems to work. With it I have removed five optimizations from my
code. Very good.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #14
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #15 from bearophile_h...@eml.cc 2013-04-10 19:20:51 PDT ---
(In reply to comment #14)
New D2 fix:
https://github.com/D-Programming-Language/dmd/pull/1883
From the pull request (dmd -O -inline -g test after):
c:\d\test.d:18
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #16 from Kenji Hara k.hara...@gmail.com 2013-04-10 19:34:08 PDT
---
(In reply to comment #15)
(In reply to comment #14)
New D2 fix:
https://github.com/D-Programming-Language/dmd/pull/1883
From the pull request (dmd -O
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #17 from bearophile_h...@eml.cc 2013-04-10 19:44:37 PDT ---
(In reply to comment #16)
It is lowered to:
int[3] y = void;
y[] = n;
And currently dmd uses memset for `y[] = n;`. It is another optimization
issue.
OK.
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Denis Shelomovskij verylonglogin@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2356
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||siegelords_ab...@yahoo.com
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords|patch |
--- Comment #10 from
http://d.puremagic.com/issues/show_bug.cgi?id=2356
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2356
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||rsi...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=2356
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||s...@invisibleduck.org
http://d.puremagic.com/issues/show_bug.cgi?id=2356
d...@dawgfoto.de changed:
What|Removed |Added
CC||d...@dawgfoto.de
--- Comment #6
http://d.puremagic.com/issues/show_bug.cgi?id=2356
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||patch
--- Comment #4
http://d.puremagic.com/issues/show_bug.cgi?id=2356
--- Comment #5 from Kenji Hara k.hara...@gmail.com 2011-09-09 09:36:49 PDT ---
After applying my patch, the sample code generates like follows:
(output of ddbg in 64-bit Windows 7)
c:\d\test.d:1 void main()
00402010: c80c
http://d.puremagic.com/issues/show_bug.cgi?id=2356
clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords|wrong-code |performance
--- Comment
21 matches
Mail list logo