[Webkit-unassigned] [Bug 112336] HTMLIdentifier uses 8-12 bytes when it only needs 4-8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 14 10:30:39 PDT 2013


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





--- Comment #2 from Benjamin Poulain <benjamin at webkit.org>  2013-03-14 10:33:04 PST ---
> I've fully given up on the "index" based approach.  It shoudl always be a pointer to a StringImpl*, teh question is just if we own (ref) that StringImpl or not.  If it's a known identifier (AtomicStringImpl*) then we don't own it, and depend on something else to keep it alive (and in the AtomicStringTable on the main thread) forever.  If we own it, then it's just a plain old StringImpl which we need to manually ref/deref since we can't steal a bit and still use RefPtr or String. :)

I am unfamiliar with the ownership here.

Is it that if it is a AtomicStringImpl*, it must be a HTMLName, if not, it is a custom string?

-- 
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