DMD internal: appendToModuleMember performance

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 22 18:07:00 PDT 2016


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


More information about the Digitalmars-d mailing list