[Webkit-unassigned] [Bug 41920] Avoid slow-path for put() in Array.splice()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 13 09:28:54 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41920





--- Comment #15 from Darin Adler <darin at apple.com>  2010-07-13 09:28:53 PST ---
(In reply to comment #14)
> we are obligated to then use uncheckedSetIndex for all the elements of the array and the setLength; in fact the debugging checks may obligate us to do this even if the length is zero!

On second though, we can write the debugging checks so they do not obligate us to call setLength. We can set the "did a CreateCompact and needs a setLength" flag only if the initial capacity is non-zero.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list