Salmagundi
A small, portable, linear probing hash map
Install / Use
/learn @e-dant/SalmagundiREADME
Salmagundi
A small, portable, linear-probing hash map in C.
#include "salmagundi.h"
#include <string.h>
void do_stuff(void) {
hm_t* map = hm_open(hm_hash_rapidhash, hm_cmp_str);
char* k = "k";
char* v = "v";
hm_put(map, k, strlen(k), v, strlen(v));
hm_item_t stored = hm_get(map, k, strlen(k));
assert(memcmp(stored.k, k, strlen(k)) == 0);
assert(memcmp(stored.v, v, strlen(v)) == 0);
hm_close(map);
}
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
