eliminate unused memoisation #2923
Labels
chore
Related to fix/refinement/improvement of end user or new/existing developer functionality
performance
Excessive resource usage and latency; usually a bug or chore
Rendering makes use of memoisation, by wrapping filters, maps, reducers and conditionalRenderers in
render.Memoise
structs. The objective here is toThe memoisation is accomplished in the renderer constructors, i.e.
MakeFilter
,MakeFilterPseudo
,MakeMap
,MakeReduce
,ConditionalRenderer
, by wrapping with arender.Memoise
struct.That actually leads to a lot of unnecessary memoisation, since many of these constructors are in places that are neither common sub-expressions nor the top-level.
We should remove the memoisation from the constructors and instead insert it at the call sites that are in these places.
The text was updated successfully, but these errors were encountered: