[Issue 7115] sort function is broken with large arrays
https://issues.dlang.org/show_bug.cgi?id=7115 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 7115] sort function is broken with large arrays
https://issues.dlang.org/show_bug.cgi?id=7115 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #6 from RazvanN --- I looked into it and it seems the built-in sort for arrays has been deprecated and the program won't compile on git HEAD (Linux/64). I don't know if there is a way to force the compilation to succeed even though deprecated functions are used, but using the phobos sort function completes the job gracefully. As for bug 2819, it seems that the code which caused the error has been removed. I suggest we close this Issue. --
[Issue 7115] sort function is broken with large arrays
https://issues.dlang.org/show_bug.cgi?id=7115 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #5 from Andrei Alexandrescu --- Can a bootcamper look into this, thanks. --
[Issue 7115] sort function is broken with large arrays
https://issues.dlang.org/show_bug.cgi?id=7115 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment #4 from hst...@quickfur.ath.cx --- Can no longer reproduce this bug on git HEAD. Tested on Linux/64. I'm guessing .sort has been replaced with the Phobos sort by now (IIRC)? If so, we should resolve this bug. --
[Issue 7115] sort function is broken with large arrays
http://d.puremagic.com/issues/show_bug.cgi?id=7115 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #3 from Don 2011-12-16 03:51:42 PST --- Perhaps a duplicate of bug 2819? (I think it may be overflowing the stack, and generating wrong results instead of segfaulting). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7115] sort function is broken with large arrays
http://d.puremagic.com/issues/show_bug.cgi?id=7115 --- Comment #2 from deadalnix 2011-12-15 13:58:57 PST --- (In reply to comment #1) > This would be a great opportunity to finally deprecate that abomination. > Also, I think this only happens when the element type is byte? I did put byte for performances reasons, but it is true that it works with int and short (I just checked). Anyway, not sure it will nto fail for bigger values. BTW, phobos provide nice way to sort, so this feature is not really needed and can be deprecated. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7115] sort function is broken with large arrays
http://d.puremagic.com/issues/show_bug.cgi?id=7115 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #1 from timon.g...@gmx.ch 2011-12-15 13:52:00 PST --- This would be a great opportunity to finally deprecate that abomination. Also, I think this only happens when the element type is byte? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---