Skip Navigation
Zig Programming Language @lemm.ee cryptocode @lemm.ee

[New project] ziglang-set: A generic and general purpose Set implementation for the Zig language

github.com GitHub - deckarep/ziglang-set: A generic and general purpose Set implementation for the Zig language

A generic and general purpose Set implementation for the Zig language - deckarep/ziglang-set

GitHub - deckarep/ziglang-set: A generic and general purpose Set implementation for the Zig language

From the README:

Zig currently does not have a built-in, general purpose Set data structure at this point in time. Until it does, try this!

Rationale: It may be common knowledge that a dictionary or map or hashset can be used as a set where the value is basically void. While this is true, there's a lot to think about in terms of supporting all the common set operations in a performant and correct way and there's no good reason why a common module for this can't exist. After studying the Zig stdlib, I'm hoping this implementation can fill that gap and provide some value.

0
0 comments