array-foreach-faster

A replacement of Array.prototype.forEach that is faster

Usage no npm install needed!

<script type="module">
  import arrayForeachFaster from 'https://cdn.skypack.dev/array-foreach-faster';
</script>

README

Faster Faster forEach

This is a drop-in replacement of the Array.prototype.forEach function these benchmarks seen at: http://jsperf.com/array-traversal-loop-vs-foreach/4 appear to prove that the operations per second are about 20% faster

Installation

$ npm install --save array-foreach-faster

Usages

require('array-foreach-faster');