o
odinpkg.dev
packages / library / fabulous_dsa.odin

fabulous_dsa.odin

e1d18bblibrary

AN adventure and experiment on Data Structure and Algorithms, implemented in Odin

Zlib · updated 4 months ago

fabulous_dsa.odin

An adventure and experiment on Data Structure and Algorithms, implemented in Odin

Zig alternative available at https://github.com/pmbanugo/dsa_dump.zig, although they're not meant to map 1:1 on what they implement, and how they do it.

Data Structures

Serialization Formats

Development

Type-checking

This repository contains library packages (no main entry point). Use -no-entry-point when type-checking:

odin check capnp/ -no-entry-point
odin check binary_fuse_filters/ -no-entry-point
odin check hash_tables/ -no-entry-point

Testing

Run tests for each package:

odin test binary_fuse_filters/
odin test hash_tables/
odin test capnp/tests/

Or run tests from within a package directory:

cd binary_fuse_filters && odin test .

Odin's test runner automatically tracks memory usage and reports leaks or bad frees.