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 was archived by the owner on Feb 22, 2018. It is now read-only.
perf(View): Improve View instantiation speed and memory consumption.
View contains many injectors which are expensive in both speed and memory. The
New DirectiveInjector assumes that there are no more than 10 directives
per element and can be a lot more efficient than a array/hash lookup and
those it can be faster as well as smaller. This change makes View
instantiation speed 4x faster in Dartium VM.
BREAKING CHANGE:
- Injector no longer supports visibility
- The Directive:module instead of returning Module now takes
DirectiveModule (which supports visibility)
- Application Injector and DirectiveInjector now have separate trees.
(The root if DirectiveInjector is ApplicationInjector)
0 commit comments