Affects versions: None
Fix versions: None
The attached patch simplifies and speeds up the RangedIterator.
The benchmarks were run using the following function to test vector iteration:
A series of "simple-benchmarks" were setup as follows:
Where 'N' and 'I' were values from the 'Vector Size' and 'Iterations' columns of the table below .
|Vector Size||Iterations||V8 Speed [msec] (master)||V8 Speed [msec] (patch)||JSC Speed [msec] (master)||JSC Speed [msec] (patch)|
- V8 version 5.1.281.47
- JSC version Unknown
The RangedIterator constructor function `ranged-iterator` was also made private.