Reactive signal/Dependency tracking library in Zig. Data management not included. Possible application: writing UI or build system logic.
Dependency graph data structure inspired by redo. Dependency tracker algorithom inspired by trkl. Benchmark code adapted from maverick-js/signals.
Read src/main.zig.
This is a Zig-only library. The module name is called signals
. This git repo has no submodule, so the tarball can be used in .zon directly.
If you don’t know how to use a Zig library, use the search engine to look it up.
The current BijectMap
is fast enough already.
BijectMap.add
can be used later fasteralgo-hashmap
. too slowalgo-splaytree
. way too slow