0
0
instrumental/app
ThibG f895bf1984 Optimize makeGetStatus (#11211)
* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex
2019-06-30 00:12:38 +02:00
..
chewy Fix NameError (#11192) 2019-06-27 09:16:55 +02:00
controllers Add categories for custom emojis (#11196) 2019-06-28 15:54:10 +02:00
helpers Change full logo to use primary text color of the given theme (#10994) 2019-06-08 15:30:06 +02:00
javascript Optimize makeGetStatus (#11211) 2019-06-30 00:12:38 +02:00
lib Add option to disable blurhash previews (#11188) 2019-06-26 19:33:04 +02:00
mailers Fix error in AdminMailer#new_pending_account (#10264) 2019-03-14 14:20:22 +01:00
models Add categories for custom emojis (#11196) 2019-06-28 15:54:10 +02:00
policies Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
presenters Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
serializers Add categories for custom emojis (#11196) 2019-06-28 15:54:10 +02:00
services Add support for Audio activities (#11189) 2019-06-26 19:32:36 +02:00
validators Fix “invited by” not showing up for invited accounts in admin interface (#10791) 2019-05-19 21:40:36 +02:00
views Add option to disable blurhash previews (#11188) 2019-06-26 19:33:04 +02:00
workers Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966) 2019-06-04 23:11:18 +02:00