Skip to content
Felix S. Klock II edited this page Jul 28, 2013 · 1 revision

Larceny provides both R6RS hashtables (recommended) and Larceny's old-style hashtables.

Beginning in v0.96, the make-hashtable procedure delegates to make-r6rs-hashtable. To create an old-style hashtable, call make-oldstyle-hashtable instead.

Larceny also supports SRFI 69, but R6RS hashtables are clearly superior and perform better. In particular, the hashtables created by make-eq-hashtable and make-eqv-hashtable are radically faster than their closest equivalent in SRFI 69. We might be able to change the reference implementation of SRFI 69 so it delegates to R6RS hashtables, but that's a slightly delicate task and we haven't done it yet (as of v0.96).

Clone this wiki locally