mikesol / purescript-deku

A PureScript web UI framework
https://deku-documentation.vercel.app/
Apache License 2.0
136 stars 12 forks source link

Cache pruning #14

Closed mikesol closed 1 year ago

mikesol commented 2 years ago

Doing some debug tests, it looks like the Deku cache may be accumulating values without releasing them. When it is, it is subtle - you have to cause intense activity and look at a global upward trend. But it's clear that there is one, so there are one or two functions that are not releasing references to their nodes when the nodes are released from the DOM. We need to find and fix these at some point: for large apps it can cause performance degradation.

mikesol commented 1 year ago

This has been fixed at some point - not sure when, but the cache is much more tame.