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

Releases: kevinhermawan/enhanced-array

v0.1.2

08 Dec 05:57
Compare
Choose a tag to compare
  • refactor: implements Sattolo cycle for shuffle function (5d258f3)

v0.1.1

04 Oct 12:58
Compare
Choose a tag to compare
  • 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

v0.1.0

02 Oct 03:56
Compare
Choose a tag to compare
  • chore: updates README (d44beae)
  • refactor: improves performance removeAt (f6b6a94)
  • refactor: improves performance insertAt (2ad5202)
  • refactor: improves performance getFirst and getLast (683e47e)

Benchmark results

getFirst - v0.0.7 (OLD) x 18,269,347 ops/sec ±0.19% (94 runs sampled)
getFirst - v0.1.0 (NEW) x 955,955,977 ops/sec ±0.36% (91 runs sampled)

getLast - v0.0.7 (OLD) x 18,112,929 ops/sec ±0.11% (94 runs sampled)
getLast - v0.1.0 (NEW) x 958,759,036 ops/sec ±0.35% (95 runs sampled)

insertAt - v0.0.7 (OLD) x 20,045 ops/sec ±0.45% (96 runs sampled)
insertAt - v0.1.0 (NEW) x 36,489 ops/sec ±0.52% (92 runs sampled)

removeAt - v0.0.7 (OLD) x 19,957 ops/sec ±0.29% (96 runs sampled)
removeAt - v0.1.0 (NEW) x 36,667 ops/sec ±0.54% (90 runs sampled)

Highlights

  • Tested using benchmark.js
  • Tested with an array of integers with 10.000 elements
  • insertAt and removeAt tested at index 9997

v0.0.7

30 Sep 02:46
Compare
Choose a tag to compare
  • fix: push a new element to the last when the index is out of range (271ec14)

v0.0.6

30 Sep 02:35
Compare
Choose a tag to compare
  • fix: import move and shuffle (d591d61)

v0.0.5

29 Sep 01:57
Compare
Choose a tag to compare
  • chore: uploads coverage to codecov (83ac5fa)
  • chore: changes description (c4801b1)

v0.0.4

26 Sep 11:08
Compare
Choose a tag to compare

v0.0.3

25 Sep 00:48
Compare
Choose a tag to compare
  • chore: adds keywords in package.json (961426b)

v0.0.2

25 Sep 00:38
Compare
Choose a tag to compare
  • chore: removes postinstall script (7e9fca8)

v0.0.1

25 Sep 00:31
Compare
Choose a tag to compare

Initial release