v1.5.0
Release Notes:
removed Source Maps from dist: (#46)
split disjoint
function into 2 implementations: (#49)
disjoint
: only compares the primary set to its peers.
This simplified implementation has orders of magnitude higher performance than its original version.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:
- update package description (#50) ed2e2fa
- added
pairwiseDisjoint
function (#49) b226148 - remove tsconfig skip lib check flag (#48) b25560b
- added Code of Conduct (#47) 6f7180c
- remove source maps from distributed package (#46) 872a254
- added unit tests (#45) ecabf5f
- remove named booleans on cardinality comparisons (#44) 3de18d9