[Webkit-unassigned] [Bug 20621] Add Peerable.h and make Node inherit from Peerable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 7 14:51:35 PDT 2008


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





------- Comment #1 from sam at webkit.org  2008-09-07 14:51 PDT -------
I do not think it makes sense to have a Peerable base class for Node or other
bound object base classes, at least without conclusive evidence that the memory
hit is worth it in performance gain.  Even if that issue can be reconciled,
bound objects like Node can be bound to multiple binding languages
simultaneously (JS and ObjC for instance) and the Peerable class does not
account for that.  If we find that the perf gain large enough, perhaps we can
consider using it as a fast path for JS, and relegating the other binding
languages to their current HashMap based caching.  If that is the case, we
should rename Peerable to something that connotes that it is JavaScript
specific.


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



More information about the webkit-unassigned mailing list