[gambit-list] Re: Re: Regarding garbage collection

Bradley Lucier lucier at math.purdue.edu
Thu Sep 10 11:00:38 EDT 2009


On Sep 10, 2009, at 8:27 AM, Marc Feeley wrote:

>
>
> On 9-Sep-09, at 10:42 PM, peter lo wrote:
>
>> By the way, I am currently trying to reduce the allocation of short-
>> lived objects, I am sure there are general tips on the web about
>> this, but I am not sure if there are tips more specific to Gambit
>> Scheme, taking into account its garbage collector.
>
> I suggest that you represent your "lists" using extensible vectors,
> implemented with plain vectors.

Or home-grown extensible u8vectors?  Or strings (after configuring  
with --enable-char-size=1)?  How many distinct "characters" are being  
distinguished?

Brad




More information about the Gambit-list mailing list