Bug 75398 - Cache and reuse the HTMLTableElement.rows collection.
Summary: Cache and reuse the HTMLTableElement.rows collection.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 14:11 PST by Andreas Kling
Modified: 2011-12-30 18:57 PST (History)
0 users

See Also:


Attachments
Patch (9.90 KB, patch)
2011-12-30 14:26 PST, Andreas Kling
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2011-12-30 14:11:50 PST
Instead of creating one every time you call rows().
Comment 1 Andreas Kling 2011-12-30 14:26:28 PST
Created attachment 120818 [details]
Patch
Comment 2 Andreas Kling 2011-12-30 16:12:12 PST
Comment on attachment 120818 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=120818&action=review

> Source/WebCore/ChangeLog:26
> +            Tell the base class constructor to not retain the back-pointer to the form.

...and by form I mean table.
Comment 3 Andreas Kling 2011-12-30 18:57:09 PST
Committed r103856: <http://trac.webkit.org/changeset/103856>