bigskysoftware / idiomorph

A DOM-merging algorithm
BSD 2-Clause "Simplified" License
696 stars 33 forks source link

Might want to look at isEqualNode and isSameNode for a possible performance bump #1

Closed kristoferjoseph closed 2 years ago

kristoferjoseph commented 2 years ago

Stoked to see someone else working on this problem 🙌 https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode

1cg commented 2 years ago

as of right now, perf seems acceptable: within 20% of morphdom in large cases, faster in smaller cases, but I'll keep it in mind, thank you!