Skip to content

Get rid of ziggy-pydust dependency#8

Merged
recipe merged 12 commits into
mainfrom
remove-pydust
Jul 5, 2026
Merged

Get rid of ziggy-pydust dependency#8
recipe merged 12 commits into
mainfrom
remove-pydust

Conversation

@recipe

@recipe recipe commented Jul 5, 2026

Copy link
Copy Markdown
Owner
  • The binding layer is now a plain C-ABI shared library driven by stdlib ctypes.
  • Bumped zig version to 0.16.0.
  • Start using Hatch for the build. Poetry is gone entirely. Since uv's own build backend can't run custom build steps (by design - no native extension support), the backend is now hatchling with a custom build hook, and uv is the frontend for everything.
  • Fixed an unbounded memory retention in streaming mode
  • Fixed: Concurrent use of one StreamWrapper is memory-unsafe
  • Fixed trie memory amplification with the Adaptive Radix Tree (ART) node-classing idea:
    Three types of nodes:
    • one — a single (key, id) pair stored inline in the node, zero heap allocation, lookup is one byte compare. Covers ~99% of nodes (including leaves as none).
    • few — up to 16 children in a heap side-array, looked up with a branchless 16-byte SIMD compare
    • dense — a direct-indexed 256-entry table for the rare hubs (root, some depth-1 nodes), upgraded automatically on the 17th child.

recipe added 5 commits July 4, 2026 17:30
- The binding layer is now a plain C-ABI shared library driven by stdlib ctypes.
- Bumped zig version to 0.16.0.
- Start using Hatch for the build. Poetry is gone entirely. Since uv's own build backend can't run custom build steps (by design - no native extension support), the backend is now hatchling with a custom build hook, and uv is the frontend for everything.
recipe added 7 commits July 4, 2026 18:37
…de-classing idea:

Three types of nodes:
- one — a single (key, id) pair stored inline in the node, zero heap allocation, lookup is one byte compare. Covers ~99% of nodes (including leaves as none).
- few — up to 16 children in a heap side-array, looked up with a branchless 16-byte SIMD compare
- dense — a direct-indexed 256-entry table for the rare hubs (root, some depth-1 nodes), upgraded automatically on the 17th child.
@recipe
recipe merged commit 0d01eed into main Jul 5, 2026
9 checks passed
@recipe
recipe deleted the remove-pydust branch July 5, 2026 03:49
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