Created by: samford
I reworked the walk()
function to use document.createTreeWalker()
(rather than the custom recursive function) and it's just a hair faster than before. Using createTreeWalker()
we'll benefit from any related improvements that are made in the future, at least.