Updates:
        Labels: Type-FeatureRequest Priority-Low

Comment #2 on issue 2131 by [email protected]: Array.splice() slows down at arrays larger than 114467
http://code.google.com/p/v8/issues/detail?id=2131

I strongly suspect that this is due to the backing store of the larger array being allocated in large-object space, where we currently cannot do efficient trimming of arrays from the left. So we end up moving the whole content to the left and adding the slots to the store-buffer because the backing store is not in new-space. This is especially brain-dead in this case, where we actually do not move anything at all, because 'start' is set to zero. I have some ideas how to improve Array.prototype.splice for these cases.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to