UNPKG

veffect

Version:

powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha

15 lines (10 loc) 284 B
/** @internal */ export const SIZE = 5 /** @internal */ export const BUCKET_SIZE = Math.pow(2, SIZE) /** @internal */ export const MASK = BUCKET_SIZE - 1 /** @internal */ export const MAX_INDEX_NODE = BUCKET_SIZE / 2 /** @internal */ export const MIN_ARRAY_NODE = BUCKET_SIZE / 4