[Webkit-unassigned] [Bug 8039] Remove use of DeprecatedArray in favor of new Vector class

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun May 7 15:14:30 PDT 2006


------- Comment #12 from hyatt at apple.com  2006-05-07 15:14 PDT -------
(From update of attachment 7964)
If Vectors don't shrink capacity on clear, then this patch also changes
behavior (which may or may not be ok).

For example in HTMLSelectElement:

-    m_listItems.resize(0);
+    m_listItems.clear();

The old code would actually re-shrink the array back down to 0.  The new code
may retain a large capacity (which could in fact be better for performance in
this case, but is a change in behavior).

These patches will definitely need to be performance-tested with all the
benchmarks (our internal PLT, i-bench, and the 24fun JS test).

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list