www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22772] New: -vtemplates should measure the cost of the

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

          Issue ID: 22772
           Summary: -vtemplates should measure the cost of the
                    instantiations
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: maxhaton gmail.com

Some templates cost much more than others, and it's not related to how many
times a template was actually used (not necessarily at least) — the
coefficient
in the O(n) matters.

--
Feb 14 2022