DescriptionImplement %TypedArray%.prototype.slice
The initial implementation of this method takes a couple shortcuts:
- At some points in the spec, we should be making a reference to
"Table 49" and instead do property lookup on the constructor.
This is an issue with some other TypedArray methods too.
- The spec indicates that, if constructor and @@species haven't been
messed with in particular ways, then there should be a memcpy
from the old to the new. That fast path is not implemented here
in this patch, but because V8 doesn't canonicalize NaN, the result
isn't observably different.
BUG=v8:3578
LOG=Y
R=arv
Committed: https://crrev.com/51df8df9bef4913559d6a356e26ed2596ba1509f
Cr-Commit-Position: refs/heads/master@{#28882}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|