agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce and optimize Group rebuilds

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

❓ Is your feature request related to a problem?

If you have a very very big Group and you mutate its value.. it rebuilds the whole Group output on a single change which might result in performance leaks.

πŸ“„ Describe the solution you'd like

Rebuild the Group only if the built output is needed.. for instance when calling output, or items

πŸ“ƒ Describe alternatives you've considered

bad performance

commented

Tried to optimize the group rebuilds in merge request #189.
But I was not yet able to make the group noticeably faster :/
image