Last Comment Bug 699237 - Implement getElementIfPresent for typed arrays
: Implement getElementIfPresent for typed arrays
Status: RESOLVED FIXED
: perf
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86 Mac OS X
: P2 normal (vote)
: mozilla10
Assigned To: Boris Zbarsky [:bz]
:
Mentors:
Depends on: 698495
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-02 14:48 PDT by Boris Zbarsky [:bz]
Modified: 2011-11-05 02:48 PDT (History)
3 users (show)
bzbarsky: in‑testsuite?
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Add a getElementIfPresent on typed arrays. (6.07 KB, patch)
2011-11-02 14:54 PDT, Boris Zbarsky [:bz]
jwalden+bmo: review+
Details | Diff | Review

Description Boris Zbarsky [:bz] 2011-11-02 14:48:47 PDT
This speeds up the Array.slice path at http://jsfiddle.net/unRwB/2/ a good bit.
Comment 1 Boris Zbarsky [:bz] 2011-11-02 14:54:18 PDT
Created attachment 571466 [details] [diff] [review]
Add a getElementIfPresent on typed arrays.
Comment 3 Marco Bonardo [::mak] 2011-11-05 02:48:34 PDT
https://hg.mozilla.org/mozilla-central/rev/cd0012b4b44a

Note You need to log in before you can comment on or make changes to this bug.