lbry-desktop/ui/redux/selectors
infinite-persistence 91f1f588e6
Slice the comments before filtering to avoid going through everything.
For the case of livestreams, the comments are added incrementally via websocket. The selector returns everything, which grows as a user watches the livestream.

We could even make it a bit more efficient by passing in `maxCount` to `filterComments`, and do a `for` loop there, but decided to keep things readable by not changing the `filter` usage.
2021-11-17 18:15:59 +08:00
..
app.js Fix memo: stake indicator 2021-11-11 10:23:28 +08:00
blocked.js Skip muted list update if no change 2021-10-19 21:15:26 +08:00
claims.js Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
coinSwap.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
collections.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
comments.js Slice the comments before filtering to avoid going through everything. 2021-11-17 18:15:59 +08:00
content.js Optimize makeSelectClaimIsNsfw (and it's surrounding friends) 2021-11-16 10:14:01 +08:00
file_info.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
livestream.js Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
notifications.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
publish.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
reactions.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
reportContent.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
rewards.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
search.js Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
settings.js Simplify selectShowMatureContent 2021-11-16 12:04:40 +08:00
subscriptions.js Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
sync.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
tags.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
user.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
wallet.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00