lbry-desktop/ui/redux/selectors
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 integrate all the things 2021-10-15 23:49:41 -04:00
claims.js Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05: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 Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
content.js integrate all the things 2021-10-15 23:49:41 -04:00
file_info.js quick fix for download connecting... (#7354) 2021-12-15 17:56:20 -05:00
notifications.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
publish.js integrate all the things 2021-10-15 23:49:41 -04:00
reactions.js integrate all the things 2021-10-15 23:49:41 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js Automatically claim initial rewards (new_user & email_verified) when … (#6807) 2021-08-18 12:34:24 -04:00
search.js cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
settings.js integrate all the things 2021-10-15 23:49:41 -04:00
subscriptions.js integrate all the things 2021-10-15 23:49:41 -04:00
sync.js add fatal error handling when sync/get fails with unknown error 2020-11-13 14:48:04 -05:00
tags.js Optimize tags and followedTags 2021-12-03 15:22:32 -05:00
user.js wip 2021-06-08 13:25:52 -04:00
wallet.js integrate all the things 2021-10-15 23:49:41 -04:00