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

          Issue ID: 15093
           Summary: optimize slist_reset
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

When compiling multilibs a lot of time (sometimes up 8%) is spent in
slist_reset.
We should perform resetting of symbols that are used in another object lazily.
One way to implement this would be to use monotonically increasing the symbol
numbers (Sxtrnum) and checking whether the numer belongs to the curren object
before using a symbol.
Another solution that might already help is to reset the symbols directly after
usage.

--

Reply via email to