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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 12 16:42:22 PDT 2010


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


Andreas Kling <andreas.kling at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61272|0                           |1
        is obsolete|                            |
  Attachment #61290|                            |review?, commit-queue?
               Flag|                            |




--- Comment #9 from Andreas Kling <andreas.kling at nokia.com>  2010-07-12 16:42:21 PST ---
Created an attachment (id=61290)
 --> (https://bugs.webkit.org/attachment.cgi?id=61290)
Proposed patch v3

Updated to address Darin's comments.

* Replaced constructor bool parameter with enum ArrayCreationMode { CreateCompactUninitialized, CreateInitialized }
* Added JSArray::uncheckedSetIndex(unsigned i, JSValue v)

I don't understand how we should initialize this array without looping though.

-- 
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