The goal is to offer change detection which is extremely performant, supports watching the result of method invocation and getter/setter functions, and puts 0 pressure on the GC. Algorithms should be written in a fashion which makes VM optimization possible.
Testing should cover both behaviour as well as performance, as it is extremely important that applications can handle thousands of watched expressions, with minimal memory and performance cost.
Copyright 2014 Google, Inc. http://angularjs.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.