Just profiled an application and even though the impact of this particular change isnt a big issue, its still notable. We have a line in Dom.js which is just this.type = node.nodeName. How often do we use this.type in our code? Maybe it would be sensible to replace the occurence with this.node.nodeName instead.
Just profiled an application and even though the impact of this particular change isnt a big issue, its still notable. We have a line in Dom.js which is just
this.type = node.nodeName
. How often do we usethis.type
in our code? Maybe it would be sensible to replace the occurence withthis.node.nodeName
instead.