You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
The text was updated successfully, but these errors were encountered:
danroth27
changed the title
DefaultActionSelector.HasValidAction allocate significant memory can, which can be fixed.
DefaultActionSelector.HasValidAction allocate significant memory, which can be fixed.
Sep 16, 2014
publicvirtualboolHasValidAction([NotNull]VirtualPathContextcontext){if(context.ProvidedValues ==null){// We need the route's values to be able to double check our work.returnfalse;}varactions=
GetActions().Where(action => action.RouteConstraints ==null|| action.RouteConstraints.All(constraint => constraint.Accept(context.ProvidedValues)));return actions.Any();}
Should these route constraints be cached, the memory consumption can be reduce to minimal.
yishaigalatzer
changed the title
DefaultActionSelector.HasValidAction allocate significant memory, which can be fixed.
[perf] DefaultActionSelector.HasValidAction allocate significant memory, which can be fixed.
Oct 8, 2014
Following data shows up in MusicStore (CLR) perf profiling:
The text was updated successfully, but these errors were encountered: