Fewer Allocations Made It Slower — A V8 Hidden-Class Lesson
· 5 min read
I refactored Exodra's DOM build walk to allocate less per node. It came out 11% slower. Here is exactly why — with the measurements that caught it and the one-line change that fixed it.
