Turned down the amount of work done by array-splice to ensure that it
doesn't time out on our slowest platforms. It turns out that almost all the time was spent in Array.prototype.unshift on a non-array with a length-field holding 40000. We may want to look into that but on the other hand it is a pretty obscure thing to do so we may not. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1211 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
7f6afa5bf4
commit
4bd3d3d10c
@ -45,7 +45,7 @@ function PseudoArray() {
|
||||
};
|
||||
|
||||
for (var use_real_arrays = 0; use_real_arrays <= 1; use_real_arrays++) {
|
||||
var poses = [0, 140, 40000, VERYLARGE];
|
||||
var poses = [0, 140, 20000, VERYLARGE];
|
||||
var the_prototype;
|
||||
var new_function;
|
||||
var push_function;
|
||||
@ -309,5 +309,3 @@ Array.prototype[1] = 1;
|
||||
assertEquals(1, arr.pop());
|
||||
assertEquals(0, arr.pop());
|
||||
Array.prototype[1] = undefined;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user