Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

complexity of lookup by tag name

3 views
Skip to first unread message

Alex Iskold

unread,
Nov 22, 2006, 2:14:46 PM11/22/06
to
Hi all,

What is the complexity/cost of the getElementsByTagName in mozilla?
Is there a hash or is a full tree walk? Obviously getElementById( ) is a
hashlookup,
but what about by name?

Thanks!

Alex

--
alex iskold
founder & cto
http://www.adaptiveblue.com

0 new messages