This module provides an easy way to do compile-time switched impl swaps for various table/set reprs with various compile-time switched defaults. You should really just learn how to use LPTabz[..] directly, though.
Procs
proc initSet[K](sz = lpInitialSize; numer = lpNumer; denom = lpDenom; minFree = lpMinFree; growPow2 = lpGrowPow2; rehash = rDefault; robinHood = rhDefault): Set[K] {.inline.}
- Source Edit
proc initTab[K, V](sz = lpInitialSize; numer = lpNumer; denom = lpDenom; minFree = lpMinFree; growPow2 = lpGrowPow2; rehash = rDefault; robinHood = rhDefault): Tab[K, V] {.inline.}
- Source Edit
Exports
-
initLPTabz, []=, init, save, lpRobinHood, items, load, depths, ==, nthPair, lpNumer, $, topByVal, mpairs, init, hasKeyOrPut, toLPTabz, -, [], numItems, incl, rightSize, containsOrIncl, intersection, items, setOrIncl, clear, indexBy, lpRehash, withIt, bits, excl, mostCommon, <=, {}=, getItOrFail, hasKey, mmap, card, lpInitialSize, allValues, loadLPTabz, add, pairs, depthStats, *, allValues, keys, low, {}, LPSetz, nthPair, mvalues, pop, hash, pop, mitems, SeqUint, len, withValue, withValue, lpDenom, take, lpGrowPow2, LPSet, values, mgetOrPut, initLPSetz, lpMinFree, disjoint, addr0, pop, editOrInit, add, contains, take, nthKey, $, [], inc, map, setCap, excl, clear, initLPSet, ==, +, del, setPolicy, mgetOrPut, LPTabz, pairs, $, pairs, toLPTabz, []=, missingOrExcl, symmetricDifference, <, incl, editKey, allItems, lpWarn, lpMaxWarn, getOrDefault, -+-, union, len, allValues, merge, initLPTab, setLen, pop, hcodes, high, {}, add, [], getCap, difference, numItems, initSeqUint, LPTab, debugDump