• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

silvermine / toolbox / 23576765631 / 3
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: renovate/lock-file-maintenance
DEFAULT BRANCH: master
Ran 26 Mar 2026 03:59AM UTC
Files 39
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2026 03:56AM UTC coverage: 98.795% (-0.005%) from 98.8%
23576765631.3

Pull #130

github

jthomerson
perf: use Set for O(1) lookups in uniq (#129)

Both `standardUniq` and `iterateeUniq` used `indexOf` to check
for duplicates, which is O(n) per element — making the overall
algorithm O(n²). At 40k elements this takes over a second.

`Set.has` uses SameValueZero equality, which matches `indexOf`
behavior for all practical values (the only difference is NaN,
which is now treated as equal to itself — arguably a bug fix).

This introduces a runtime dependency on `Set` (ES2015+). The
compiled output emits `new Set()` directly with no polyfill,
since the shared tsconfig already targets `es2019` — meaning
`Set` was already assumed available by every other feature in
the compiled output (arrow functions, `const`, etc.).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #130: perf: use Set for O(1) lookups in uniq (#129)

162 of 166 branches covered (97.59%)

Branch coverage included in aggregate %.

330 of 332 relevant lines covered (99.4%)

1635.29 hits per line

Source Files on job latest - 23576765631.3
  • Tree
  • List 39
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23576765631
  • 7067397d on github
  • Prev Job for on jthomerson/uniq-perf (#21405656423.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc