Effect list
#231
Replies: 1 comment 2 replies
-
I didn't notice you already start an effect list algorithm discussion. I will keep updating my finding here and there #259 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The new diff algorithm uses two ends traversal, and its order is different from that of fiber. We need to introduce a second linked list.
Such as this:
The order of traversal at both ends is, [ 1, 4, 2, 3 ], because this algorithm is derived from the other frameworks, the order of the effectlist should be the same as that of the traversal at both ends.
Another advantage of effectlist is that it can solve the problem of memory explosion.
Alternative: simplify the diff algorithm and reduce the mobility
Beta Was this translation helpful? Give feedback.
All reactions