[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
signature.asc
Description: PGP signature
- [PATCH] Add user-facing weak pair API, Peter Bex, 2023/06/03
- Re: [PATCH] Add user-facing weak pair API, Peter Bex, 2023/06/03
- Re: [PATCH] Add user-facing weak pair API,
Peter Bex <=
- Re: [PATCH] Add user-facing weak pair API, felix . winkelmann, 2023/06/06
- Re: [PATCH] Compact symbol table in lookup/intern, and fix a few gitignores (was: [PATCH] Add user-facing weak pair API), Peter Bex, 2023/06/07
- [PATCH] Allow collecting weak pairs in minor GC (was: Re: [PATCH] Add user-facing weak pair API), Peter Bex, 2023/06/09
- [PATCH] Allow collecting weak pairs in minor GC (was: Re: [PATCH] Add user-facing weak pair API), felix . winkelmann, 2023/06/09
- Re: [PATCH] Add user-facing weak pair API, felix . winkelmann, 2023/06/19