[webkit-dev] RenderArena: Teaching an old dog new tricks

Ryosuke Niwa rniwa at webkit.org
Tue Nov 13 23:14:32 PST 2012

On Tue, Nov 13, 2012 at 10:23 PM, Eric Seidel <eric at webkit.org> wrote:

> RenderArena was a perf optimization for the rendering tree, which
> hyatt imported from Mozilla 10 years ago:
> http://trac.webkit.org/changeset/2635
> The prevailing lore has long been that RenderArena is no longer
> useful, ugly, and should be killed!
> http://www.mail-archive.com/webkit-dev@lists.webkit.org/msg12681.html
> The (unfortunate?) reality is that we've failed to do so, despite
> trying several times.
> http://www.mail-archive.com/webkit-dev@lists.webkit.org/msg12682.html

I don't think we have failed. The messages posted on the thread don't
indicate anyone has tried to delete the render arena recently. I support
any attempts to remove it.

Since RenderArena is generic, the current plan to move it to WTF (as
> by Chris Marrin suggested back in
> http://www.mail-archive.com/webkit-dev@lists.webkit.org/msg12672.html),
> clean up the code further, and investigate wider deployment (like to
> the DOM tree) for the security benefit and possible perf win.
> https://bugs.webkit.org/show_bug.cgi?id=101087

How does this work when a node is adopted from one document to another? DOM
arena (or whatever we call it) will not be tied to a document?

- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121113/75c21d12/attachment.html>

More information about the webkit-dev mailing list