codemix/fast.js — pull request #45 by phpnode (2014-06-30 21:44:01+00:00)
Title: Add fast.some()

#### V8
```
Native .some() vs fast.some() (3 items)
✓ Array::some() x 6,552,463 ops/sec ±1.91% (85 runs sampled)
✓ fast.some() x 21,451,697 ops/sec ±1.54% (84 runs sampled)
✓ underscore.some() x 5,814,797 ops/sec ±1.48% (94 runs sampled)
✓ lodash.some() x 10,993,279 ops/sec ±1.78% (79 runs sampled)

Result: fast.js is 227.38% faster than Array::some().

Native .some() vs fast.some() (10 items)
✓ Array::some() x 2,759,374 ops/sec ±1.92% (91 runs sampled)
✓ fast.some() x 9,646,575 ops/sec ±1.61% (91 runs sampled)
✓ underscore.some() x 2,552,896 ops/sec ±2.34% (85 runs sampled)
✓ lodash.some() x 6,066,681 ops/sec ±1.87% (91 runs sampled)

Result: fast.js is 249.59% faster than Array::some().

Native .some() vs fast.some() (1000 items)
✓ Array::some() x 33,712 ops/sec ±2.09% (80 runs sampled)
✓ fast.some() x 127,554 ops/sec ±1.75% (95 runs sampled)
✓ underscore.some() x 33,080 ops/sec ±2.23% (86 runs sampled)
✓ lodash.some() x 108,813 ops/sec ±2.25% (92 runs sampled)

Result: fast.js is 278.36% faster than Array::some().
```
#### SpiderMonkey
```
Native .some() vs fast.some() (3 items)
✓ Array::some() x 71,218,274 ops/sec ±0.46% (69 runs sampled)
✓ fast.some() x 76,141,786 ops/sec ±0.56% (69 runs sampled)
✓ underscore.some() x 26,856,985 ops/sec ±0.44% (69 runs sampled)
✓ lodash.some() x 11,156,303 ops/sec ±1.71% (67 runs sampled)

Result: fast.js is 6.91% faster than Array::some().

Native .some() vs fast.some() (10 items)
✓ Array::some() x 11,811,974 ops/sec ±0.56% (69 runs sampled)
✓ fast.some() x 11,460,204 ops/sec ±1.41% (65 runs sampled)
✓ underscore.some() x 9,199,784 ops/sec ±2.30% (66 runs sampled)
✓ lodash.some() x 6,148,923 ops/sec ±0.39% (68 runs sampled)

Result: fast.js is 2.98% slower than Array::some().

Native .some() vs fast.some() (1000 items)
✓ Array::some() x 130,149 ops/sec ±0.25% (69 runs sampled)
✓ fast.some() x 132,925 ops/sec ±0.42% (68 runs sampled)
✓ underscore.some() x 126,776 ops/sec ±0.58% (69 runs sampled)
✓ lodash.some() x 107,808 ops/sec ±0.27% (63 runs sampled)

Result: fast.js is 2.13% faster than Array::some().

```