[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-json 2.0.0 released
From: |
Ludovic Courtès |
Subject: |
Re: guile-json 2.0.0 released |
Date: |
Wed, 19 Dec 2018 11:48:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Aleix,
Aleix Conchillo Flaqué <address@hidden> skribis:
> Any comments on the discussion between alist/vector vs
> hash-tables/list? How hard would it be for Guix to change to the
> alist/vector approach? I'm just considering options and would like
> input from anyone who uses guile-json, specially Guix who's probably
> the biggest user.
I sympathize with David’s comments and would have been happy keeping the
ability to pass alists as inputs. :-)
I haven’t checked but IIUC quite a bit of code in Guix would have to be
modified to use ‘alist->hash-table’.
As for vectors vs. lists, I suppose Scheme vectors in theory correspond
directly to JS arrays (O(1) access), so that’d be an argument in favor
of using vectors on the Scheme side. However vectors in Scheme are less
convenient than lists, as John noted, and I’m guessing that often lists
are good enough. Tricky!
Thanks,
Ludo’.
- Re: guile-json 2.0.0 released, (continued)
- Re: guile-json 2.0.0 released, John Cowan, 2018/12/13
- Re: guile-json 2.0.0 released, Thompson, David, 2018/12/13
- Re: guile-json 2.0.0 released, John Cowan, 2018/12/13
- Re: guile-json 2.0.0 released, Thompson, David, 2018/12/13
- Re: guile-json 2.0.0 released, John Cowan, 2018/12/13
Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/13
- Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/13
- Re: guile-json 2.0.0 released, John Cowan, 2018/12/13
- Re: guile-json 2.0.0 released, Ludovic Courtès, 2018/12/18
- Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/18
- Re: guile-json 2.0.0 released,
Ludovic Courtès <=
- Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/19
- Re: guile-json 2.0.0 released, rain1, 2018/12/19
- Re: guile-json 2.0.0 released, John Cowan, 2018/12/19
- Re: guile-json 2.0.0 released, Ludovic Courtès, 2018/12/19
Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/20
Re: guile-json 2.0.0 released, Ludovic Courtès, 2018/12/20
Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/20
Re: guile-json 2.0.0 released, Aleix Conchillo Flaqué, 2018/12/29
Re: guile-json 2.0.0 released, rain1, 2018/12/18
Re: guile-json 2.0.0 released, Arne Babenhauserheide, 2018/12/19