[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BDW-GC] Static cell/string/symbol allocation
From: |
Ludovic Courtès |
Subject: |
Re: [BDW-GC] Static cell/string/symbol allocation |
Date: |
Fri, 16 Jan 2009 00:20:12 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hello!
address@hidden (Ludovic Courtès) writes:
> I modified <snarf.h> in the BDW-GC branch to transparently have all
> `SCM_SYMBOL ()' invocations use a statically allocated stringbuf. The
> symbol itself still has to be interned then so for simplicity the
> implementation statically allocates an immutable string and then uses
> `string->symbol' at initialization time to create an interned symbol
> (which reuses the string's stringbuf).
FYI, I committed the code in the new `bdw-gc-static-alloc' branch.
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=shortlog;h=refs/heads/bdw-gc-static-alloc
Thanks,
Ludo'.