assembly-hashmap 0.1.0

A single-threaded u64→u64 hashmap with x86-64 assembly operations and Rust-side growth.
Documentation
#ifndef HASHMAP_IMPL_H
#define HASHMAP_IMPL_H

#include <stdint.h>

#define HM_GROUP 16
#define HM_HASH_MUL 0x517cc1b727220a95ull
#define HM_EMPTY 0xffu
#define HM_DELETED 0x80u

struct HashMap {
    uint8_t *ctrl;
    uint64_t *slots;
    uint64_t bucket_mask;
    uint64_t items;
    uint64_t growth_left;
    uint64_t cap_items;
    void *block;
};

#endif