|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] Large vector |
Date: | Fri, 11 May 2007 10:00:48 +0200 |
On 5/11/07, felix winkelmann <address@hidden> wrote:
On 5/10/07, Mark Voortman <address@hidden> wrote: > > > 2. Have you considered the GC implications? > > There should be no garbage collection. I just load it into memory once and > that's it. Since chicken uses a (generational) stop-and-copy collector, all data allocated will be moved from one space to another on every GC. But it should be possible to create some sort of higher-level abstraction on top of non-GCd (but finalized) raw memory. I'll try to come up with something.
(This paragraph conflicts with the former - I don't know what I'm talking about sometimes) Unless you want numerical vectors (which should be covered with SRFI-4), all I can currently offer is: http://chicken.wiki.br/sparse-vectors (stolen from S48) cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |