lbry-desktop/ui/redux/actions
jessopb a3398843c2
Optimize selectClaimIsMine (#7370)
Frequently used; top in perf profile

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.

Co-authored-by: infinite-persistence <inf.persistence@gmail.com>
2021-12-31 12:52:26 -05:00
..
app.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
blocked.js Additional pop up menu options 2021-06-15 13:47:56 -04:00
claims.js cleanup 2021-10-15 23:49:41 -04:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
collections.js integrate all the things 2021-10-15 23:49:41 -04:00
comments.js Fix reaction-selector reference invalidation 2021-12-03 15:22:32 -05:00
content.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
file.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
file_info.js integrate all the things 2021-10-15 23:49:41 -04:00
notifications.js integrate all the things 2021-10-15 23:49:41 -04:00
publish.js strip out livestreams 2021-10-20 17:05:37 -04:00
reactions.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js remove invites and rewards 2021-12-08 20:41:57 -05:00
search.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
settings.js successfully repair default hubs when custom hub fails (#7366) 2021-12-20 16:20:16 -05:00
subscriptions.js integrate all the things 2021-10-15 23:49:41 -04:00
sync.js improve sync 2021-11-30 15:03:38 -05:00
tags.js sync reducer stuff 2020-10-27 10:17:11 -04:00
user.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
wallet.js integrate all the things 2021-10-15 23:49:41 -04:00
websocket.js strip out livestreams 2021-10-20 17:05:37 -04:00