How ciubotaru/hashmap works
This is a small C library for binary-key/value storage, not a standalone application. A client calls the public API to create or mutate a map and search for entries; the implementation owns copied data and manages chained buckets, including incremental resizing and runtime options. The README documents the library’s broader API behavior. The source excerpts are partial, so internal links are limited to relationships shown there or explicitly documented.
Main entry points: hashmap.c Map Operations · hashmap.h Hashmap API · hashmap-internals.h Map Structures
Components 6
Public API
- Hashmap API
hashmap.h
Hashmap Runtime
- Map Operations
hashmap.c - Map Structures
hashmap-internals.h - Resize Migration
hashmap.c - Runtime Options
hashmap.c
Other components
- C Client
Connections 5
- C Client → Hashmap API: calls
README - Hashmap API → Map Operations: implemented by
hashmap.c - Map Operations → Map Structures: uses structures
hashmap.c - Map Operations → Resize Migration: advances migration
hashmap.c - Map Operations → Runtime Options: applies options
README