summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2026-08-25 22:11:46 +0200
committerTaylan Kammer <taylan.kammer@gmail.com>2026-08-25 22:11:46 +0200
commit6c763c4a27bcb58281568937b9ded714af70b9da (patch)
tree3ec52a052819934453fde2346ba710545763508a
parent9f5aa98ac1034030788ae24c9df506c88216c907 (diff)
One last addition, hopefully.
-rw-r--r--notes/260825-code-gc.md6
1 files changed, 6 insertions, 0 deletions
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.