https://raw.githubusercontent.com/ashinn/chibi-scheme/master/lib/srfi/38.scm is public domain, uses a hash table, and should be reasonably portable. You'll need to remove the references to read-object, which are a Chibi-specific lexical extension providing record literals.
On Thu, Jul 4, 2019 at 3:48 AM Sven Hartrumpf <hartru...@gmx.net> wrote: > Hi. > > Are there any plans to support SRFI-38 (or similar functionality as > provided > by R7RS) in Chicken 5 natively? > I use the reference implementation of SRFI-38, but reading of > s-expressions with many > thousand sharings becomes a bottleneck, e.g. 3 hours instead of 1 second. > (The reason is the use of a list (instead of a vector) for storing pairs of > (label . datum).) > > Ciao > Sven > > _______________________________________________ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users >
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users