Re: [whatwg/dom] Suggestion: `Node.insertAfter(newNode, referenceNode)` (#986)

>     2\. Avoiding a long series of unnecessary calls to C++ land and reducing it to a dictionary property update.

So this is only about the case when one wants to prepend the very first node. Otherwise using child.after() gives exactly the same performance.

But I guess insertAfter should be fine.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/986#issuecomment-860661736

Received on Monday, 14 June 2021 12:56:35 UTC