Compiler performance with my ridiculous Binderoo code

Ethan Watson via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 11 11:54:37 PST 2016


On Sunday, 11 December 2016 at 19:40:21 UTC, safety0ff wrote:
> That's not really useful for understanding and making progress 
> on the issue.

Uh, it kinda does actually. It's highlighting that a better hash 
function will only have a minor effect. The time sink is the 
number of instantiations that are happening.

But it is worth pointing out that, yes, for you to see the 
problem here you won't see it with simple tests. Binderoo very 
quickly builds up recursive template instantiations that bring 
the problem out from the crypt and in to the light.


More information about the Digitalmars-d mailing list