Cache property reads for performance?
I noticed this Buble output:
for (var i = 0, list = childNodes; i < list.length; i += 1) {
but it could rather be
for (var i = 0, length = childNodes.length; i < length; i += 1) {
which will perform faster because the .length
property won't be looked up every iteration.