On Monday, June 10, 2013 21:24:50 Andrei Alexandrescu wrote: > On 6/10/13 2:29 AM, Don Clugston wrote: > > It seems hard to believe there would be enough types to instantiate > > isNarrowString thousands of different times. > > This would be a good starting point in diagnosing the matter. True, > isRandomString is instantiated with many types because it's part of > template constraints that ultimately fail. But then, thousands sounds a > bit much.
Given how many ranges wrap other ranges and how that sort of thing is going to show up in template constraints and static ifs all over the place, I'm not sure that thousands is all that unlikely when you start unit testing - especially when you're trying to test every instantiation path (as we should be doing). Hopefully, there's some sort of bug here or something that we can optimize, but it wouldn't entirely surprise me if all of those instantiations were legit. - Jonathan M Davis _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
