[Issue 10124] Array length increases on subtraction of a big number instead of throwing RangeError

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10124 Marco Leise marco.le...@gmx.de changed: What|Removed |Added CC||marco.le...@gmx.de ---

[Issue 13410] New: Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 Issue ID: 13410 Summary: Performance problem with associative array byKey/byValue Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #1 from bearophile_h...@eml.cc --- The exact problem was found by Daniel Kozak. --

[Issue 12634] [D1] Wrong code with string literal concatenation

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12634 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #3 from Ketmar Dark ket...@ketmar.no-ip.org --- Created attachment 1408 -- https://issues.dlang.org/attachment.cgi?id=1408action=edit simple 'first used bucket' caching for AAs with '_aaDelX' recaching here is another patch which tries

[Issue 13411] New: Document: std.concurrency onCrowding default behavior and message box size

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13411 Issue ID: 13411 Summary: Document: std.concurrency onCrowding default behavior and message box size Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 13408] template mixins allows to declare duplicates

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13408 --- Comment #1 from Temtaime temta...@gmail.com --- There's one another issue. mixin template R() { void foo() { writeln(1); } void foo() { writeln(2); } } struct S { mixin R; } void main() { S s; } This code compiles OK, but

[Issue 13377] core/sys/posix/syslog.d is in druntime/src but not in druntime/src/import

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13377 --- Comment #1 from Kevin L kevin.lamo...@gmail.com --- I think this pull request will do the job: https://github.com/D-Programming-Language/druntime/pull/945 --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Attachment #1407|0 |1 is obsolete|

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #5 from bearophile_h...@eml.cc --- (In reply to Ketmar Dark from comment #4) and code from the forum (~3.5 seconds -- 1.1 seconds). For me the C++ version of the code runs in about 0.20 seconds, so there's still a significant

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #6 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to bearophile_hugs from comment #5) For me the C++ version of the code runs in about 0.20 seconds, so there's still a significant performance difference. yes, AA still needs to

[Issue 13412] New: Assertion failure: 'global.errors' on line 6698 in file 'template.c'

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13412 Issue ID: 13412 Summary: Assertion failure: 'global.errors' on line 6698 in file 'template.c' Product: D Version: D2 Hardware: x86_64 OS: Windows

[Issue 13413] New: dmd does not follow symlink when searching for dmd.conf

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13413 Issue ID: 13413 Summary: dmd does not follow symlink when searching for dmd.conf Product: D Version: unspecified Hardware: x86_64 OS: Linux Status:

[Issue 13413] dmd does not follow symlink when searching for dmd.conf

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13413 Martin Nowak c...@dawg.eu changed: What|Removed |Added Keywords||pull --- Comment #1 from Martin

[Issue 13414] New: Static destructors not called correctly with dynamic loading

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13414 Issue ID: 13414 Summary: Static destructors not called correctly with dynamic loading Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW

[Issue 13414] Static destructors not called correctly with dynamic loading

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13414 David Nadlinger c...@klickverbot.at changed: What|Removed |Added Keywords||pull --- Comment #1

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #7 from Orvid King blah38...@gmail.com --- It would be nice if this were done as a PR on github, as it would be much easier to review. --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #8 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to Orvid King from comment #7) It would be nice if this were done as a PR on github, as it would be much easier to review. sorry, each time i'm thinking about registering at

[Issue 13414] Static destructors not called correctly with dynamic loading

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13414 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/600166ce11d20f3a24f269fd655c61f532c6b990 Issue 13414 -

[Issue 10124] Array length increases on subtraction of a big number instead of throwing RangeError

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10124 --- Comment #4 from yebblies yebbl...@gmail.com --- Overflow looks the same: void main() { int[] arr = [1,2,3,4]; arr.length += uint.max; } It's currently being rewritten to 'length = (length op arg)'. I'm not sure how to detect this

[Issue 13415] New: '-inline' causes wrong enclosing scope pointer for nested function called from templated struct

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13415 Issue ID: 13415 Summary: '-inline' causes wrong enclosing scope pointer for nested function called from templated struct Product: D Version: D2 Hardware: All OS:

[Issue 13413] dmd does not follow symlink when searching for dmd.conf

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13413 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 13313] std.datetime fails unittests on Windows

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13313 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to 2.066 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5ec7250c5dd955c84ef1bc264ea325de49d40781 Merge pull request

[Issue 13416] New: frequent auto-tester hangs in core.thread on freebsd 64

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13416 Issue ID: 13416 Summary: frequent auto-tester hangs in core.thread on freebsd 64 Product: D Version: D2 Hardware: x86_64 OS: FreeBSD Status: NEW

[Issue 2350] Contracts with a naked body are indecent

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2350 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a643c1e8380d4faaa182f016b70b1c50bdddca16 Issue 2350 - Contracts with

[Issue 13383] wrong code with -O with ints, longs and bitwise operations

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13383 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e14242906651c07247e41e37de1d27a18b81e54b Fix Issue 13383 - wrong

[Issue 13414] Static destructors not called correctly with dynamic loading

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13414 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/e3c358afd0d9f9d4fa8dee999773e0c3ca2d4003 regression test

[Issue 13410] Performance problem with associative array byKey/byValue

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #9 from bearophile_h...@eml.cc --- (In reply to Ketmar Dark from comment #8) but to find first available item we must loop thru all buckets until we find the used one. Right. (But using an unordered_map in the C++ code from the

[Issue 6989] Implement toString for std.concurrency.Tid

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6989 Kevin L kevin.lamo...@gmail.com changed: What|Removed |Added CC||kevin.lamo...@gmail.com ---

[Issue 13376] std.concurrency.Tid needs a human-readable ID/hash string

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13376 Kevin L kevin.lamo...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13413] dmd does not follow symlink when searching for dmd.conf

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13413 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9cca69aab858a794c751174fa4277b308088b3a0 fix Issue 13413 - dmd does

[Issue 13413] dmd does not follow symlink when searching for dmd.conf

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13413 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13378] Wrong failure of template value parameter deduction in IFTI

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13378 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8381f61baf838f289a89c3f9fe324e04138b8324 Merge pull request #3898 from

[Issue 13394] invariant fail to link since 2.066 when using separate compilation

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13394 --- Comment #6 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6bfc3341a04ff6b4bc431703473646c35bbd0c87 Merge pull request #3918 from

[Issue 13379] Latest dmd fails with recursive template expansion in std.regex

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13379 --- Comment #7 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f3a52eac94c30d6a2917504a1d2be2ef8e0f2ba3 Merge pull request #3905 from

[Issue 13400] Linking problems with bigints and std.functional.memoize

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13400 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f45825b99c7d45a21a8cbb07ce57a6e0372037da Merge pull request #3932 from

[Issue 13415] [REG2.066] '-inline' causes wrong enclosing scope pointer for nested function called from templated struct

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13415 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Summary|'-inline' causes wrong |[REG2.066] '-inline' causes

[Issue 13415] [REG2.066] '-inline' causes wrong enclosing scope pointer for nested function called from templated struct

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13415 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #2 from

[Issue 2350] Contracts with a naked body are indecent

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2350 --- Comment #5 from yebblies yebbl...@gmail.com --- wrong-code keyword now applies to D1 only. --