SRFI 250: Insertion-ordered hash tables

by John Cowan

status: withdrawn (2024-09-24)

keywords: Data Structure

See also SRFI 69: Basic hash tables, SRFI 125: Intermediate hash tables, SRFI 126: R6RS-based hashtables, and SRFI 128: Comparators (reduced).

Abstract

This SRFI defines an interface to hash tables, which are widely recognized as a fundamental data structure for a wide variety of applications. A hash table is a data structure that:

Unlike the hash tables of SRFI 125, which is the direct ancestor of this specification, the hash tables described here are ordered by insertion: that is, associations inserted earlier in the history of the hash table appear earlier in the ordering. Advances in the implementations of hash tables, as provided by C++, Python, JavaScript, etc., make the provision of this new facility practical. As a result, the hash tables of this SRFI do not interoperate with the hash tables of SRFI 125, SRFI 126, or existing R6RS implementations.