lbry-desktop/ui/redux
infinite-persistence 0f68bad3eb
Optimize selectClaimIsMine
## Why
Frequently used; top in perf profile

## Changes
Most of the time, you already have the claim object in the current context. `selectClaimIsMineForUri` will retrieve the claim again, which is wasteful, even if it is memoized (looking up the cache still takes time).

Break apart the logic and added the alternative `selectClaimIsMine` for faster lookup.
2021-11-11 16:10:06 +08:00
..
actions Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
middleware Track duration of startup events 2021-10-22 16:02:21 +08:00
reducers Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
selectors Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00