On 6/10/2013 2:25 AM, Martin Nowak wrote:
The number of instances is also a huge performance issue when searching for
existing instantiations, because search is done linear and comparing two
TemplateInstance uses the costly arrayObjectMatch on the template arguments.
Once I finish with 2.063.2, I'll do some profiling and see about improving that.
I think arrayObjectMatch could back a hashed lookup. With the heavy template
usage D is relying on, this will be a necessity.
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals