fast-memoize

v2.1.1
Fastest memoization lib that supports N arguments

benchmark

node benchmark

benchmark:cache

node benchmark/cache

benchmark:combination

node benchmark/combination.js

benchmark:recursive-all

node benchmark/recursive-all.js

benchmark:recursive-solo

node --trace-opt benchmark/recursive-solo.js

benchmark:serializer

node benchmark/serializer

benchmark:solo

node benchmark/solo.js

benchmark:strategy

node benchmark/strategy

benchmark:trace

node --trace-inlining --trace-opt --trace-deopt benchmark/trace.js

benchmark:v8-optimization-analysis

node --allow_natives_syntax --expose_debug_as=VirtualMachine benchmark/v8-optimization-analysis.js

lint

eslint --fix "src/**/*.js" "benchmark/**/*.js"

preversion

npm run test:all

test

jest

test:all

npm run lint && npm run test

test:coverage

covert test/*.js

Metadata

  • MIT
  • Whatever
  • Caio Gondim
  • released 1/26/2017

Downloads

Maintainers