[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash-table-{to, from}-alist
From: |
Stephen J. Turnbull |
Subject: |
Re: hash-table-{to, from}-alist |
Date: |
Tue, 25 Nov 2008 16:02:38 +0900 |
Stefan Monnier writes:
> I don't know what "size" is meant to represent in XEmacs's or CL's use
> of this representation. Is it the expected average number of elements
> in the table? or the expected max number of elements? or the current
> number of elements?
Size is the actual number of elements currently in the table. In
XEmacs, weak elements that are "no longer there" are not guaranteed to
be removed from the table at any particular time, and I suspect size
is ambiguous for weak tables. Ask Mike Sperber (XEmacs.org mailbox
"mike") and/or Martin Buchholz ("martin") if you want to know the
details and the design.
In the XEmacs implementation, the parameters of #s(hash-table ...) are
simply passed to make-hash-table, so as Ted says, it's just a hint.
- Re: hash-table-{to, from}-alist, (continued)
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/25
- Re: hash-table-{to, from}-alist, David De La Harpe Golden, 2008/11/25
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/26
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/26
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/26
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/26
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/26
- Re: hash-table-{to, from}-alist, Davis Herring, 2008/11/26
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/26
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/24
- Re: hash-table-{to, from}-alist,
Stephen J. Turnbull <=
- Re: hash-table-{to, from}-alist, Miles Bader, 2008/11/22
- Re: hash-table-{to, from}-alist, tomas, 2008/11/22
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/22