Skip to content

Align branches#2

Merged
phughesmcr merged 2 commits into
devfrom
main
May 24, 2026
Merged

Align branches#2
phughesmcr merged 2 commits into
devfrom
main

Conversation

@phughesmcr
Copy link
Copy Markdown
Owner

No description provided.

phughesmcr and others added 2 commits May 4, 2026 19:48
## Summary

  Merge `dev` into `main` with a broad BooleanArray performance/API update focused on reducing allocation pressure in hot paths, improving typed-array
  interoperability, and tightening release validation.

  ## Changes

  - Added reusable/preallocated APIs:
    - `cloneInto`
    - `copyFromArray`
    - `copyFromObjects`
    - `setFromObjects`
    - `copyFromUint32Array` / `copyToUint32Array`
    - `copyFromUint8Array` / `copyToUint8Array`
    - `getUint8Into`
  - Added zero-allocation operation variants:
    - `andInto`, `orInto`, `xorInto`, `differenceInto`
    - `nandInto`, `norInto`, `xnorInto`, `notInto`
  - Added allocation-free relationship and cursor APIs:
    - `intersects`
    - `containsAll`
    - `nextTruthyIndex`
    - `nextFalsyIndex`
  - Expanded static and module exports for constructors, constants, validation helpers, and internal utilities.
  - Updated constructors to accept broader `ArrayLike` inputs, including typed numeric index streams and positional `Uint8Array` masks.
  - Improved validation so bulk mutation methods validate inputs before mutating destinations.
  - Added GC allocation benchmark scripts and Deno tasks for local and optional external package comparisons.
  - Updated CI/publish workflow to run Deno checks, docs linting, dry-run publish validation, and `deno publish`.
  - Expanded README coverage for the new APIs, allocation benchmark workflow, and performance-oriented usage patterns.
  - Added and expanded tests for new APIs, typed-array interop, validation behavior, cursor scanning, relationship queries, and preallocated bitwise
  operations.
@phughesmcr phughesmcr merged commit c8204e9 into dev May 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant