angular/angular.js — pull request #9899 by jbedard (2014-11-04 08:26:49+00:00)
Title: perf(Angular): only create new collection in getBlockNodes if the block has changed

Doing something such as...
```
var scope = $rootScope.$new();
$compile( $('

').appendTo('body') )(scope);
while (loop forever) {
scope.i = (0 === ++i%2);
scope.digest()
}
```

The `getBlockNodes` goes from about 2.5% => 0.25%. In any real test that diff would probably round down to zero though. But for only 3 extra lines (2 being `}`) I thought I'd at least throw it out there...