News for hackers. Stuff that matters.
Re:Asm-dom, a minimal WebAssembly virtual DOM to build C++ SPA by jlokier on Monday March 16, 2020 @03:47PM (#22596790)
This technique should be O(n) in every browser (where n is the size of the inserted tree), unless large parts of the tree are hidden with display:none.

After replaceChild(), the inserted tree must be analysed in context for CSS, layout and rendering. That will take O(n) unless parts can be skipped.

Do you mean that IE does a separate CSS or layout calculation for each node as they are inserted one by one?

There are no comments on this comment yet.