forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf($compile): don't register $destroy callbacks on element-transclu…
…ded nodes This is a major perf win in the large table benchmark (~100ms or 9). This cleanup is needed only for regular transclusion because only then the DOM hierarchy doesn't match scope hierarchy (transcluded scope is a child of the parent scope and not a child of the isolate scope) We should consider refactoring this further for the case of regular transclusion and consider using scope events instead.
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters