Re: [WICG/webcomponents] Addressable comments (a very small DOM parts subset) (Issue #1116)

EisenbergEffect left a comment (WICG/webcomponents#1116)

@sorvell I haven't done any benchmarking recently. When I was working on FAST for Microsoft, we did some experiments that involved removing empty text nodes, and that showed a notable difference in initial render time. It's not the same, now that I recall the details...

I'm not super concerned about comment nodes but it's probably worth exploring the impact if this proposal would result in a *lot* more comment nodes than in the past. I generally try to create a comment only when I need to mark something for which there isn't already an element. But if they are in fact even cheaper than attributes, then maybe the point is moot.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1116#issuecomment-3550422715
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1116/3550422715@github.com>

Received on Wednesday, 19 November 2025 02:48:31 UTC