An object reference check is fast - much faster than a deep check for differences - so Angular can quickly determine if it can skip both the pipe execution and a view update.
对象引用的检查是非常快的(比递归的深检查要快得多),所以angular可以快速的决定是否应该跳过管道执行和视图更新。
If it is easier to check a return value, or call an API to change a setting then go deep... and stop messing around on the surface.
如果检查一个返回值或者调用一个API来改变设置会更简单,那么就深入下去,停止在UI上浪费时间了。
The scientists also check water in deep wells.
科学家还检查深井里的水。
应用推荐