From 6c763c4a27bcb58281568937b9ded714af70b9da Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Tue, 25 Aug 2026 22:11:46 +0200 Subject: One last addition, hopefully. --- notes/260825-code-gc.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'notes/260825-code-gc.md') diff --git a/notes/260825-code-gc.md b/notes/260825-code-gc.md index b2736af..d1975cc 100644 --- a/notes/260825-code-gc.md +++ b/notes/260825-code-gc.md @@ -339,3 +339,9 @@ Would be used in two ways: recursive free won't touch it. Something like that would work, I think. + +But need to think about pointer equality as well, which breaks unless +we mask off the "foreign" bits of pointers as part of equality check, +making equality more than a single CPU instruction, which is kinda +annoying. Then again, a similar issue applies to the rest of the 8 +bits used for GC metadata. Oh well, I'll figure it out. -- cgit v1.2.3