node
node copied to clipboard
src: implement v8 array iteration using the new callback-based API
src: implement v8 array iteration using the new callback-based API
Using this to iterate over an array can be faster than calling Array::Get repeatedly. Local experiment shows that this is faster once the array size is bigger than 2.