« Bugzilla Issues Index
#2607 — Performance optimizations for Array.prototype.unshift and Array.prototype.reverse
- bug_id:
2607
- creation_ts:
2014-04-08 09:56:00 -0700
- short_desc:
Performance optimizations for Array.prototype.unshift and Array.prototype.reverse
- delta_ts:
2014-04-29 22:30:55 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 23: April 5, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Brian Terlson
- assigned_to:
Allen Wirfs-Brock
- commentid:
7627
- comment_count:
0
- who:
Brian Terlson
- bug_when:
2014-04-08 09:56:44 -0700
These methods are sub-optimal because they trigger more proxy traps than necessary. Thankfully they can be fixed because the changes I propose should be non-observable without proxies. With proxies, FF and Chrome are already doing what I propose here, so this should not be controversial.
Unshift: https://gist.github.com/bterlson/10077836
Reverse: https://gist.github.com/bterlson/9838408
- commentid:
7757
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-16 15:42:47 -0700
fixed in rev24 editor's draft
- commentid:
8014
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-29 22:30:55 -0700
fixed in rev24