lbry-desktop/ui/page
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
..
backup add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
buy remove invites and rewards 2021-12-08 20:41:57 -05:00
channel Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
channelNew remove invites and rewards 2021-12-08 20:41:57 -05:00
channels integrate all the things 2021-10-15 23:49:41 -04:00
channelsFollowing cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
channelsFollowingDiscover update trending to use trending_score 2021-12-02 20:42:51 -05:00
collection Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
creatorDashboard integrate all the things 2021-10-15 23:49:41 -04:00
discover Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
file strip out livestreams 2021-10-20 17:05:37 -04:00
fileListDownloaded integrate all the things 2021-10-15 23:49:41 -04:00
fileListPublished remove lbryinc web, update sitename, etc 2021-10-21 21:20:59 -04:00
fourOhFour Revert "move stuff to web (#6537)" 2021-07-19 10:12:57 -04:00
help cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
home cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
invite remove invites and rewards 2021-12-08 20:41:57 -05:00
invited integrate all the things 2021-10-15 23:49:41 -04:00
library integrate all the things 2021-10-15 23:49:41 -04:00
listBlocked integrate all the things 2021-10-15 23:49:41 -04:00
lists limit collection display 2021-11-07 14:59:35 -05:00
navigationHistory refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notifications Fix notifications fetching issues (#7002) 2021-09-01 12:03:48 -04:00
ownComments Comment-selectors: fix memoization 2021-12-03 15:22:32 -05:00
passwordReset new layout 🕺 2020-09-29 17:12:32 -04:00
passwordSet new layout 🕺 2020-09-29 17:12:32 -04:00
passwordUpdate Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
playlists limit collection display 2021-11-07 14:59:35 -05:00
publish integrate all the things 2021-10-15 23:49:41 -04:00
receive ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
report Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
reportContent Implement ReportContent page 2021-04-21 10:49:31 -04:00
repost integrate all the things 2021-10-15 23:49:41 -04:00
rewards Revert accidental commit from ody repo 2021-10-11 09:43:58 +08:00
rewardsVerify rewards redirect fix for manually approved users 2020-07-03 13:18:28 -04:00
search fix top on search page 2021-10-20 17:05:37 -04:00
send integrate all the things 2021-10-15 23:49:41 -04:00
settings Page: the 'settingsPage' option now automatically adds the sidebar. 2021-08-23 23:45:25 +08:00
settingsCreator strip out livestreams 2021-10-20 17:05:37 -04:00
settingsNotifications integrate all the things 2021-10-15 23:49:41 -04:00
show Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
signIn new layout 🕺 2020-09-29 17:12:32 -04:00
signInVerify cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
signInWalletPassword get sync password out of signing flow 2020-09-21 14:11:25 -04:00
signUp new layout 🕺 2020-09-29 17:12:32 -04:00
tagsFollowing integrate all the things 2021-10-15 23:49:41 -04:00
tagsFollowingManage per channel notification settings 2020-11-02 14:13:13 -05:00
top cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
wallet fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
welcome new layout 🕺 2020-09-29 17:12:32 -04:00
youtubeSync more flow 2021-10-15 23:49:41 -04:00