[Webkit-unassigned] [Bug 53564] canHaveChildrenForEditing should be more efficient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 2 12:00:14 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53564





--- Comment #3 from Darin Adler <darin at apple.com>  2011-02-02 12:00:13 PST ---
Qualified name comparison is just pointer comparison so we have to make sure we have code that takes advantage of that.

Since the set is small, a binary search of a vector might be faster than a hash table.

I am not sure that HashSet<QualifiedName> is sufficiently specialized to do pointer hashing. If it was we might see faster performance. A way to work around that and test that assumption would be to use a HashSet<QualifiedNameImpl*>.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list