Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: sdk/lib/mdv_observe_impl/mdv_observe_impl.dart

Issue 16007003: Optimize internals of multiplex-streams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Now relative to correct base Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/mdv_observe_impl/mdv_observe_impl.dart
diff --git a/sdk/lib/mdv_observe_impl/mdv_observe_impl.dart b/sdk/lib/mdv_observe_impl/mdv_observe_impl.dart
index ed42d62ef2453b0aa663e286f361c9ea0e1546f1..577f0b8ce6d7c0e6baa1aea0fb82ce2868287456 100644
--- a/sdk/lib/mdv_observe_impl/mdv_observe_impl.dart
+++ b/sdk/lib/mdv_observe_impl/mdv_observe_impl.dart
@@ -69,7 +69,7 @@ abstract class ObservableMixin implements Observable {
Stream<List<ChangeRecord>> get changes {
if (_multiplexController == null) {
_multiplexController =
- new StreamController<List<ChangeRecord>>.multiplex();
+ new StreamController<List<ChangeRecord>>.broadcast();
}
return _multiplexController.stream;
}

Powered by Google App Engine
This is Rietveld 408576698