[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends
https://issues.dlang.org/show_bug.cgi?id=13152 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com Summary|Compiler high cpu usage and |[REG2.064.2] Compiler high |never ends |cpu usage and never ends --- Comment #2 from Vladimir Panteleev --- Domingo, can you try removing "public" from the imports in each module? I think that's what's causing the slowdown. I can reproduce the problem (and arrive at the same bisect result) with the following synthetic test case: // a.d / public import a; public import b; . public import y; public import z; Then copy a.d to b.d, c.d, ..., z.d. You can use the following program to generate the test files: / gen.d import std.stdio; enum last = 'z'; void main() { for (char c = 'a'; c<=last; c++) { auto f = File(c ~ ".d", "w"); for (char c2 = 'a'; c2<=last; c2++) f.writefln("public import %s;", c2); } } Running `dmd a.d` will take a very long time. Introduced in https://github.com/D-Programming-Language/dmd/pull/2448 (between 2.063 and 2.064.2). --
[Issue 13158] D:YAML broken by 2.066
https://issues.dlang.org/show_bug.cgi?id=13158 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev --- Introduced in https://github.com/D-Programming-Language/dmd/pull/3400 --
[Issue 12004] shared ~this() should not exist
https://issues.dlang.org/show_bug.cgi?id=12004 Vlad Levenfeld changed: What|Removed |Added CC||vlevenf...@gmail.com --
[Issue 12192] Wrong interface file content generated that crashes compiler
https://issues.dlang.org/show_bug.cgi?id=12192 Vlad Levenfeld changed: What|Removed |Added CC||vlevenf...@gmail.com --
[Issue 12192] Wrong interface file content generated that crashes compiler
https://issues.dlang.org/show_bug.cgi?id=12192 Vlad Levenfeld changed: What|Removed |Added CC|vlevenf...@gmail.com| --
[Issue 13163] std.conv.parse misses overflow when it doesn't result in a smaller value
https://issues.dlang.org/show_bug.cgi?id=13163 Nils changed: What|Removed |Added Summary|std.conv.parse misses |std.conv.parse misses |overflow when it results in |overflow when it doesn't |the same value |result in a smaller value --- Comment #2 from Nils --- Another test case by monarchdodra showing that the overflowed value can be greater than the original (duh): import std.conv; import std.exception; void main() { auto s = "123"; assertThrown!ConvOverflowException(s.parse!ubyte(16)); /* fails */ } --
[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends
https://issues.dlang.org/show_bug.cgi?id=13152 --- Comment #3 from Domingo Alvarez Duarte --- Yes removing the "public" attribute seems to allow dmd to work as expected. I saw that you've marked the commit that create this bug with a comment about this. So this will be a bug ? How can we describe it better ? --
[Issue 13166] New: pause and resume threads
https://issues.dlang.org/show_bug.cgi?id=13166 Issue ID: 13166 Summary: pause and resume threads Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: Phobos Assignee: nob...@puremagic.com Reporter: sycam@gmail.com the core.thread class should have some mechanism for pausing or resuming threads or alternately should expose the OS thread handles so we can use OS specific thread functions (Not Advised) on windows it would be a wrapper for suspendthread and ResumeThread however on POSIX you would have to implement your own mechanism for doing so as pthread doesn't provide any such mechanism. --
[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends
https://issues.dlang.org/show_bug.cgi?id=13152 Vladimir Panteleev changed: What|Removed |Added Keywords||performance Hardware|x86_64 |All OS|Linux |All --- Comment #4 from Vladimir Panteleev --- Yes, this is a compiler performance regression. I think this issue contains enough information now. --