精彩的开发人员,我需要一点帮助,澄清为什么Angular 2比Angular 1更高性能?为什么Angular 2比Angular 1有更好的性能?
在网上搜索后,我想出了这个相关的解释从Er Shahbaz Sharif in a Quora discussion:
Angular 2 is using Hierarchical Dependency Injection system which is major performance booster.
Angular 2 implements unidirectional tree based change detection which again increases performance .
As per ng-conf meetup, angular 2 is 5 times faster as compared to angular 1
在同一个讨论的其他解释似乎徘徊在这一点。
难道有人请为我澄清为什么这两个因素(和其他人,如果有的话)有助于提升Angular 2的性能?非常感谢。