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

ReactiveX / rxjs / 3753
97%

Build:
DEFAULT BRANCH: master
Ran 26 Oct 2016 10:49PM UTC
Jobs 1
Files 340
Run time 39s
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

pending completion
3753

push

travis-ci

jayphelps
feat(distinct): remove `distinctKey`,  `distinct` signature change and perf improvements (#2049)

* feat(distinct): remove `distinctKey`,  `distinct` signature change and perf improvements

- Adds a limited Set ponyfill for runtimes that do not support `Set`
- `distinct` now supports an optional keySelector argument that the user can use to select the value to check distinct on
- `distinctKey` is removed as it is redundant
- `distinct` no longer supports a comparer function argument, as there is little to no use case for such an argument that could not be covered by the keySelector
- updates tests to remove tests that do not make sense and test new functionality

BREAKING CHANGE: `distinctKey` has been removed. Use `distinct`
BREAKING CHANGE: `distinct` operator has changed, first argument is an
optional `keySelector`. The custom `compare` function is no longer
supported.

resolves #2009

* perf(distinct): increase `distinct()` perf by improving deopts

- moves keySelector call to a different function with a try catch to improve V8 optimization
- distinct calls with no keySelector passed now take a fully optimized path, doubling speed again

related #2009

* docs(distinct): update distinct docs to fit new API

38 of 38 new or added lines in 2 files covered. (100.0%)

6427 of 6611 relevant lines covered (97.22%)

615.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3753.1 26 Oct 2016 10:49PM UTC 0
97.22
Travis Job 3753.1
Source Files on build 3753
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3753
  • 89612b29 on github
  • Prev Build on master (#3751)
  • Next Build on master (#3772)
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