jorgebucaran/hyperapp

Maybe less code?

yisar opened this issue · 3 comments

yisar commented

https://github.com/snabbdom/snabbdom/blob/master/src/package/init.ts#L216

I see that snabbdom only uses one while loop to implement two-end-diff, the abstraction level will be higher, compared to the current implement, the amount of code may be less, too.

I think there is no difference between the results of the two, but the code organization is different and the amount of code is different, what do you think?

Do you have a POC?

yisar commented

Do you have a POC?

No, I have not yet, but I could have a try.

Cool, experimentation is the mother of invention! Good luck with that.