perf (vs): Supress repeated 'is_dirty' updates
Before the updates reach the dispatcher thread
This commit is contained in:
1 parent
faab60cbc1
commit
2b52ecf2ef
1 file changed
+1
@@ -19,6 +19,7 @@ namespace mbts.spark {
|
||||
_committed_value.observe_current(true)
|
||||
.CombineLatest(_candidate_value.observe_current(true))
|
||||
.Select(tup => !Equals(tup.First, tup.Second))
|
||||
.DistinctUntilChanged()
|
||||
.OnDispatcher());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user