Memoize InnerGetTypeName()#318
Conversation
|
Is ths a hotspot during Domain building or during domain live? |
|
I don't remember. |
|
I think I know when you get hot paths for In various cases we can replace I see that System.RuntimeType has cache for names (according to the sources) public override String Name
{
get
{
return GetCachedName(TypeNameKind.Name);
}
}Implicit usage of this cache will help us to not bloat our caches. Maybe we can start with something like this (#333) and see how it goes. What do you think? I don't know whether you can check results of the PR I mentioned and tell me the outcome. |
|
I don't mind these changes, but to test them with our app requires big efforts to create special branches and build. |
|
Sure, as I thought, it is understandable. |
|
I merged my PR, I postpone this one for results of my PR, whether it did something or not. |
We see in tracing this is a hotspot