www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15093] New: optimize slist_reset


          Issue ID: 15093
           Summary: optimize slist_reset
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

When compiling multilibs a lot of time (sometimes up 8%) is spent in
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

Sep 21 2015