[Webkit-unassigned] [Bug 41920] Avoid slow-path for put() in Array.splice()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 8 23:14:00 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41920
Oliver Hunt <oliver at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60986|review?, commit-queue? |review-, commit-queue-
Flag| |
--- Comment #2 from Oliver Hunt <oliver at apple.com> 2010-07-08 23:14:00 PST ---
(From update of attachment 60986)
I think this can be made much better.
We should add a function to create a new array that will actually allocate sufficient space for the result as we know we will be producing a compact array of this size, then resObj->put(...) should be replaced with setIndex(k, v).
--Oliver
--
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