summaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
Diffstat (limited to 'notes')
-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.