On 4/15/2016 11:33 AM, Johan Engelen wrote:
The culprit is the linear search at the end of appendToModuleMember, because the members list with Dsymbols gets pretty large (50k+ members). https://github.com/D-Programming-Language/dmd/blob/master/src/dtemplate.d#L8012-L8026
https://github.com/dlang/dmd/pull/5693
