Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Now here's something you're really going to like!" -- Rocket J. Squirrel


devel / comp.lang.scheme / SRFI 250: Insertion-ordered hash tables

SubjectAuthor
o SRFI 250: Insertion-ordered hash tablesArthur A. Gleckler

1
SRFI 250: Insertion-ordered hash tables

<3ecb00cd-66d9-4293-a3bb-45b508696c24n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=254&group=comp.lang.scheme#254

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:a05:622a:478c:b0:41b:8141:9132 with SMTP id do12-20020a05622a478c00b0041b81419132mr176915qtb.1.1700075231566;
Wed, 15 Nov 2023 11:07:11 -0800 (PST)
X-Received: by 2002:a65:67ce:0:b0:5be:24b1:7862 with SMTP id
b14-20020a6567ce000000b005be24b17862mr1550632pgs.4.1700075231141; Wed, 15 Nov
2023 11:07:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Wed, 15 Nov 2023 11:07:10 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=99.46.140.206; posting-account=LxAb6woAAAC1lFA0Q2auCNpmd7EXgVPk
NNTP-Posting-Host: 99.46.140.206
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3ecb00cd-66d9-4293-a3bb-45b508696c24n@googlegroups.com>
Subject: SRFI 250: Insertion-ordered hash tables
From: *@speechcode.com (Arthur A. Gleckler)
Injection-Date: Wed, 15 Nov 2023 19:07:11 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3206
 by: Arthur A. Gleckler - Wed, 15 Nov 2023 19:07 UTC

Scheme Request for Implementation 250,
"Insertion-ordered hash tables",
by John Cowan,
is now available for discussion.

Its draft and an archive of the ongoing discussion are available at
<https://srfi.schemers.org/srfi-250/>.

You can join the discussion of the draft by filling out the
subscription form on that page.

You can contribute a message to the discussion by sending it to
<srfi-250@srfi.schemers.org>.

Here's the 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:

- Is disjoint from all other types.
- Provides a mapping from objects known as keys to corresponding
objects known as values.
- Keys may be any Scheme objects in some kinds of hash tables, but
are restricted in other kinds.
- Values may be any Scheme objects.
- Provides an equality predicate which defines when a proposed key
is the same as an existing key. No table may contain more than one
value for a given key.
- Provides a hash function which maps a candidate key into a
non-negative exact integer.
- Supports mutation as the primary means of setting the contents of
a table.
- Provides key lookup and destructive update in (expected) amortized
constant time, provided that a satisfactory hash function is
available.
- Does not guarantee that whole-table operations work in the
presence of concurrent mutation of the whole hash table. (Values
may be safely mutated.)
- 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.

Regards,

SRFI Editor

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor