Skip to content

v1.5.0

Compare
Choose a tag to compare
@kubikowski kubikowski released this 01 Nov 17:21
· 53 commits to main since this release
2d96b38

Release Notes:

removed Source Maps from dist: (#46)

split disjoint function into 2 implementations: (#49)

  1. disjoint: only compares the primary set to its peers.
    This simplified implementation has orders of magnitude higher performance than its original version.
  2. pairwiseDisjoint: compares all sets to each other, see below.

added pairwiseDisjoint function:

A Family of Sets are pairwise disjoint if none of the Sets share any elements in common.

import { pairwiseDisjoint } from 'set-utilities';

const isPairwiseDisjointAB = pairwiseDisjoint(setA, setB);
const isPairwiseDisjointABC = pairwiseDisjoint(setA, setB, setC);

Commits:

v1.4.2...v1.5.0