Hacker News new | past | comments | ask | show | jobs | submit login




To add a bit of context to the second link (a comment I made): the core patching algorithm in nerv is based on the patching algorithm from ivi, a library that was created by Boris Kaul (creator of several benchmarking tools used by virtual dom authors) as an exercise in making the fastest virtual dom possible.

It popularized the prefix/suffix algorithm used in most vdom libs today, and in addition, it's one of the only ones that use a LIS algorithm to further decrease the number of DOM changes in complex DOM reordering scenarios. Ivi also does a ton of other micro-optimizations.

Seeing that ivi was part of their research material tells me that this library's perf claims have a least some foundation to back them up.


Good to know. Still, they could have done a much better job communicating that.


I'm actually just happy that this is even on Github at all (and with english docs, to boot). If it's a jingdong project and the perf claims are true, it could've been a competitive edge for them and they had no obligation to make it open source.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: