Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

v0.1.1

Compare
Choose a tag to compare
@kevinhermawan kevinhermawan released this 04 Oct 12:58
· 2 commits to main since this release
  • refactor: improves performance isContainNil in the first and last index (aa707bc)

Benchmark results

# In the first index
isContainNil - v0.1.0 (OLD) x 163,090,481 ops/sec ±21.74% (71 runs sampled)
isContainNil - v0.1.1 (NEW) x 206,998,535 ops/sec ±2.00% (88 runs sampled)

# In the last index
isContainNil - v0.1.0 (OLD) x 139,833 ops/sec ±2.66% (91 runs sampled)
isContainNil - v0.1.1 (NEW) x 219,300,660 ops/sec ±0.47% (93 runs sampled)

Highlights

  • Tested using benchmark.js
  • Tested with an array of integers with 10.000 elements