Does IE11 use a hash-table to optimize calls to document.getElementById()
or if not, what kind of optimization is used? My logic is that document.getElementById()
will be called fairly often and a full traversal of the DOM tree would be inefficient, so it would make sense to optimize it.
I am asking about a specific browser and a specific method in order for my question to be answerable.
from Does IE11 use a hash-table to optimize document.getElementById()?
No comments:
Post a Comment