W3C home > Mailing lists > Public > public-html@w3.org > September 2010

Re: Putting limits on formatting element growth

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 14 Sep 2010 01:30:34 -0700
Message-ID: <AANLkTinHgbMmOKr-mHM5Cm7ajg_cbBKwvz28FXAZQ3JD@mail.gmail.com>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTML WG <public-html@w3.org>, eric@webkit.org
On Tue, Sep 14, 2010 at 1:05 AM, Henri Sivonen <hsivonen@iki.fi> wrote:
>> Here's a test case (not a live link but the source) that caused
>> lengthy hangs in the older WebKit HTML parser:
>> http://trac.webkit.org/browser/trunk/LayoutTests/fast/parser/residual-style-hang.html
>
> Following links form that commit leads me to a patch that limits the outer loop of the old AAA to 5 iterations.
>
> Any particular reason why the new implementation limits the outer AAA loop to 10 iterations instead?

The new AAA is much, much faster than the old one.  We just bumped the
limit because we could without hanging.

Adam
Received on Tuesday, 14 September 2010 08:31:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC