haxetink / tink_state

Handle those pesky states.
The Unlicense
29 stars 13 forks source link

Optimize subscriptions. #42

Closed back2dos closed 4 years ago

back2dos commented 4 years ago

Currently, auto observables subscribe in a rather inefficient matter:

  1. the subscribe to the same dependency multiple times.
  2. when they recompute, they clear all subscriptions.

It should be solvable in a more efficient manner, although self-invaliding computations make things rather challenging.

back2dos commented 4 years ago

Resolved via #43