chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] Add user-facing weak pair API


From: Peter Bex
Subject: Re: [PATCH] Add user-facing weak pair API
Date: Sat, 3 Jun 2023 23:51:51 +0200

On Sat, Jun 03, 2023 at 11:12:40PM +0200, Peter Bex wrote:
> Dear hackers,
> 
> At the Village CHICKENs event, I gave a presentation about how we could
> add "proper" support for weak pairs, so that they can be exposed to the
> user.

PPS: When writing tests for weak pairs, I realised I made a mistake in
my presentation: cyclic lists of weak pairs are not a problem, because
the cars would *still* be cleared.

The issue, IIUC, is when both the cdr and the car (or a car of one weak
pair and a cdr of another) refer to the same object, *then* it can't be
collected.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature


reply via email to

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