-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type::GetByName(): cache results for faster lookup #9553
Conversation
I just had a really quick look at this and find it strange doing it this way around. How much work would it be to make the primary source of types a |
Too much for what this change shall improve. |
Also globals.System.Types is initialised very early and never changes. |
6550ae7
to
979a918
Compare
Before/after,
|
Would you prefer if the register macros also fill a second, non-DSL, map (which is preferably accessed unlocked)? |
We have caches also e.g. in #9408 after all. |
master before #9627real 54m20,817s master before #9627 + #9553real 49m3,936s master with #9627real 23m15,077s master with #9627 + #9553real 21m52,338s |
Especially since #9543
"Blocked by" (not really, but preferably)