https://issues.dlang.org/show_bug.cgi?id=1339
Andrei Alexandrescu changed:
What|Removed |Added
Version|2.002 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=1339
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1339
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #16 from yeb
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #15 from Stewart Gordon 2011-04-09 08:13:36 PDT ---
(In reply to comment #14)
> The same happens with enum arrays:
>
> enum int[] data = [3, 1, 2];
> void main() {
> data.sort;
> }
Array enums have enough problems of their own
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #14 from bearophile_h...@eml.cc 2011-04-06 16:56:23 PDT ---
The same happens with enum arrays:
enum int[] data = [3, 1, 2];
void main() {
data.sort;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=ema
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #13 from Don 2010-05-10 01:44:42 PDT ---
There's a bit of code in druntime, in rt/adi.d which is affected by this.
extern (C) long _adSortChar(char[] a)
{
if (a.length > 1)
{
-dstring da = toUTF32(a);
+dchar
http://d.puremagic.com/issues/show_bug.cgi?id=1339
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #11 from Steven Schveighoffer 2010-05-06
13:38:49 PDT ---
Don, while you are looking at this, have a look at related bug 3550
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving
http://d.puremagic.com/issues/show_bug.cgi?id=1339
Don changed:
What|Removed |Added
Keywords||patch
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1339
Steven Schveighoffer changed:
What|Removed |Added
CC||schvei...@yahoo.com
S
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #8 from 2kor...@gmail.com 2009-02-19 18:06 ---
(In reply to comment #7)
> Oh yes. Increasing .length always reallocates under 2.025, whether const,
> invariant or not. The problem is that concatenation doesn't.
>
Do yo
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #7 from s...@iname.com 2009-02-19 13:59 ---
Oh yes. Increasing .length always reallocates under 2.025, whether const,
invariant or not. The problem is that concatenation doesn't.
--
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #6 from ma...@pochta.ru 2009-02-19 04:04 ---
> What did? With which DMD version?
The first testcase did. DMD version is specified in the bugreport. My version
is 2.023.
--
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #5 from s...@iname.com 2009-02-19 03:41 ---
(In reply to comment #4)
> (In reply to comment #3)
>> It reallocated array on increasing length. Seems valid.
What did - the testcase here with checking added, the testcase at
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #4 from 2kor...@gmail.com 2009-02-19 03:27 ---
(In reply to comment #3)
> It reallocated array on increasing length. Seems valid.
>
Yes, the length part is fine. Here is slightly modified test case:
import std.stdio;
im
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #3 from ma...@pochta.ru 2009-02-19 02:55 ---
It reallocated array on increasing length. Seems valid.
--
http://d.puremagic.com/issues/show_bug.cgi?id=1339
--- Comment #2 from s...@iname.com 2009-02-18 15:51 ---
Did I mean 2544? In any case, bug 2093 is one that the .length bit especially
certainly is related to.
--
http://d.puremagic.com/issues/show_bug.cgi?id=1339
s...@iname.com changed:
What|Removed |Added
CC||s...@iname.com
--- Comment #1 fr
18 matches
Mail list logo