dphfox / Fusion

A modern reactive UI library, built specifically for Roblox and Luau.
https://elttob.uk/Fusion/
MIT License
530 stars 91 forks source link

Let Computeds release values heuristically #307

Closed boatbomber closed 2 months ago

boatbomber commented 5 months ago

Implements #305 for Computeds.

When used in Lua Learning, I went from thousands of UDim2 values being held to just a couple hundred. Same for UDim, Vector2, etc.

dphfox commented 5 months ago

I'm not quite ready to touch heuristics yet - there's too many big changes coming down the pipe as far as execution goes - but I'd still like to keep this around for reference.

dphfox commented 2 months ago

Closing this PR. I'm starting work on execution model stuff now, and I can roll in these considerations as part of the broader changes. Stay tuned.