[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-json 0.2.0 released
From: |
Daniel Hartwig |
Subject: |
Re: guile-json 0.2.0 released |
Date: |
Fri, 5 Apr 2013 07:39:29 +0800 |
On 5 April 2013 06:21, Taylan Ulrich B. <address@hidden> wrote:
> Panicz Maciej Godek <address@hidden> writes:
>
>> Plainly, the size is kept in the internal representation of the hash
>> table:
>>
>> typedef struct scm_t_hashtable {
>> unsigned long n_items; /* number of items in table */
>> ...
>>
>> cf.
>> http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=libguile/hashtab.
>> h;h=82ed22e66eb1f5045793cfc55cca0be040d4aab1;hb=HEAD#l66
>>
>> It would be really cheap&easy to get it from there. I just wanted to
>> show that hash-tables are neglected in Scheme in general, and in Guile
>> in particular.
>
> That sounds nasty indeed. It's late for me today; if no one's quicker
> than me, tomorrow I might see that I implement hash-size in C as my
> first Guile-contribution. :P
>
Note that exposing a constant-time “number of items” operation has been
proposed several times recently and remains not included. Please read
the previous threads before proposing this yet again.
Regards
- guile-json 0.2.0 released, Aleix Conchillo Flaqué, 2013/04/02
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/04
- Re: guile-json 0.2.0 released, Noah Lavine, 2013/04/04
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/05
- Re: guile-json 0.2.0 released, Noah Lavine, 2013/04/05
- Re: guile-json 0.2.0 released, Panicz Maciej Godek, 2013/04/05
- Message not available
- Message not available
- Re: guile-json 0.2.0 released, Nala Ginrut, 2013/04/04