https://issues.dlang.org/show_bug.cgi?id=24700

--- Comment #2 from Dennis <[email protected]> ---
Here's a test case to artificially produce similar Symbol / pointer ref counts:

```
static foreach (i; 0 .. 8_000)
{
    mixin("struct S"~i.stringof~" {float x;}");
}

__gshared int*[64_000] x;
```

Compile times goes from 35.5s => 2.4s after applying the patch I mentioned.

--

Reply via email to