guix-devel
[Top][All Lists]
Advanced

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

Re: Cuirass news


From: Andy Wingo
Subject: Re: Cuirass news
Date: Mon, 29 Jan 2018 10:57:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

On Sun 28 Jan 2018 22:47, address@hidden (Ludovic Courtès) writes:

> interned symbols are potentially not GC’d (though I think with Guile
> 2.2 and its weak sets they may be subject to GC.)

Symbols are collectable.  They are collectable in 2.0 as well.

Depending on the context, it may be worth considering using non-symbols
if all you need is a unique object -- some freshly allocated object will
do.  That's for when you know that X is just an identifier of some kind
(you don't have to dispatch on its type, etc).

Andy



reply via email to

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