精彩的開發人員,我需要一點幫助,澄清爲什麼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的性能?非常感謝。