Skip to content

hashtable

Michael Drake edited this page Jan 5, 2026 · 1 revision

!meta title="Module:utils/hashtable" !meta author="James Bursa" !meta date="2011-01-09T22:37:26Z"

!toc Write-once string to string hash tables.

Prefix

hash_

Depends on

Description

This module implements mappings from string to string using a hash table. Pairs can not be removed once added.

The tables have a fixed number of buckets specified on creation, but don't grow beyond that. Entries are chained in a linked list in each bucket.

Files

utils/hashtable.h : Interface utils/hashtable.c : Implementation

!inline raw=yes pages="Module:Index"

Clone this wiki locally