[Issue 16513] Speed up TemplateInstance.findExistingInstance, hash by mangling
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 20 03:40:43 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16513
--- Comment #2 from uplink.coder at googlemail.com ---
Hash collisions will happen!
We need a way to speed up those equals compares in rootObject.
I'll look if I can find a good way to gradually remove the virtual calls.
IsVariable!(Simulated_Object_966)
IsMemberVariable!(Simulated_Object_975)
isSomeFunction!(Simulated_Object_573)
Those SHOULD produce the same hash they work on the same types!
I am of the impression that template-inlining can help here.
--
More information about the Digitalmars-d-bugs
mailing list