[Webkit-unassigned] [Bug 179114] First letter text renderer should be anonymous

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 1 13:16:52 PDT 2017


--- Comment #19 from Antti Koivisto <koivisto at iki.fi> ---
> Is it worth using a RenderElement bit here? I think first letter is rare
> enough that you could use RenderObject::rareData().

I don't think so. There are plenty of free bits in RenderElement and we could probably just add more too (renderer size doesn't appear to be a huge concern in memory or performance).

I'm also unconvinced that RareData is a good pattern in general. As you pile up stuff there you'll end up with a data structure that is large and not rare. See ElementRareData.

The traditional feature-bit-and-side-hashmap approach used all over render tree seems strictly better to me.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171101/2c5a0835/attachment-0001.html>

More information about the webkit-unassigned mailing list