File: README.md

package info (click to toggle)
node-array-flatten 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 208 kB
  • sloc: javascript: 362; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
# Benchmarks

There are three different types of benchmarks running with associated modules. All are 100% compatible with others in their respective `code/` directory.

**Interesting Note:** The fastest `flatten` method, by far, is using `instanceof` instead of `Array.isArray`. As this breaks compatibility across frames, it is not used here.