Another performance problem
code at klickverbot.at
Mon Dec 23 17:38:57 PST 2013
On Sunday, 8 December 2013 at 14:03:18 UTC, David Nadlinger wrote:
> I did, however, find a rather severe bug: We emit the "__gshared
> static" globals in the MemoryPool struct as thread-local, which
> is a)
> a big correctness problem, and b) might cause substantial
> slowdown due
> to the additional overhead incurred when accessing them.
Turns out that this is actually a DMD issue:
You might want to watch out for this trap in the future (or annoy
people to fix it in the frontend, of course).
More information about the digitalmars-d-ldc