[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Growable arrays?

From: Noah Lavine
Subject: Re: Growable arrays?
Date: Mon, 11 Jun 2012 08:13:25 -0400


>> vlist is a data type introduced around guile 2.0.  You will find it
>> documented in the Guile Reference under Compound Data Types.
>> They are growable and provide vector-like access performances and
>> memory locality.
> Ah, too bad.  This needs to run under 1.8 as well.

If you need to support older versions of Guile, then you can't use any
data structures we add now anyway, correct? So it seems like you will
have to implement growable vectors yourself no matter what.

If you want to, though, you could look at the implementation of vlists
in Guile 2.0, which I think is all in Scheme. See

Even if we can't fix it, it is still nice to hear about data
structures you wish Guile had, so that in a few more versions this
might not be a problem for you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]