Immutable data can drastically increase performance. It guarantees the validity of referential equality for a number of tasks like: memoization (which we do on search), stuff like $scope.$watchCollection (which we also do), and in React world it can do wonders when using PureRenderMixin (but since Angular renders straight into the DOM, I don't think this applies).
ImmutibleJS is a popular Facebook project implementing all the normal data structures with persistent data structures.
Immutable data can drastically increase performance. It guarantees the validity of referential equality for a number of tasks like: memoization (which we do on search), stuff like
$scope.$watchCollection
(which we also do), and in React world it can do wonders when using PureRenderMixin (but since Angular renders straight into the DOM, I don't think this applies).ImmutibleJS is a popular Facebook project implementing all the normal data structures with persistent data structures.