perf (vs): Supress repeated 'is_dirty' updates

Before the updates reach the dispatcher thread
This commit is contained in:
John Colvin committed 2022-08-08 16:11:25 -04:00
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());
}