Skip to content

Commit

Permalink
computed_collections: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mstniy committed Sep 22, 2024
1 parent 9815517 commit 80da208
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ class MapValuesComputedComputedMap<K, V, VParent>
@override
late final Computed<IMap<K, V>> snapshot;

// TODO: We can be slightly smarter about this by not evaluating any computation as soon as
// one of them gains a value. Cannot think of an easy way to do this, though.
@override
Computed<bool> get isEmpty =>
isEmptyExpando[this] ??= $(() => snapshot.use.isEmpty);
Expand Down

0 comments on commit 80da208

Please sign in to comment.