The template instantiation code is short-circuited if the instantiation already exists. (It's a bad bug if this is broken.)
On 6/9/2013 11:29 PM, Don Clugston wrote:
I'm not sure. That's the number of calls to the constructor of TemplateInstance. I don't understand the code well enough to know
if it can eventually gets merged with an existing TemplateInstance.
If so, then perhaps there's something we could do to prevent them from getting created in the first place if they are duplicates.