DescriptionFactor out core of Array.forEach and .every, for use in TypedArrays
The idea is to make this the model for future TypedArray methods.
A possible downside could be lower array method performance
if everything gets polymorhpic (but if enough inlining happens, it
should still be fast), but on the upside, this change means that
the TypedArray methods won't create as much code size bloat.
BUG=v8:3578
LOG=Y
R=adamk@chromium.org
CC=arv@chromium.org, caitpotter88@gmail.com
Committed: https://crrev.com/1ebbaaa0362ffc295fc4121bead8bb84a3cf5ec6
Cr-Commit-Position: refs/heads/master@{#28351}
Patch Set 1 #
Total comments: 5
Patch Set 2 : using HAS_INDEX even with typedarray, simplifying things #
Total comments: 3
Patch Set 3 : fix test #Patch Set 4 : extend every test #Patch Set 5 : rebase #
Messages
Total messages: 20 (7 generated)
|