4 ms·
> all comparisons which check "are these two values the same object" are going to require masking, because your comparison instructions (xor, subtract, compare,
by celeritascelery 4y ago
> all comparisons which check "are these two values the same object" are going to require masking, because your comparison instructions (xor, subtract, compare, ...) will not ignore any of the bits.
Wouldn’t two pointers to the same object also have the same tag? I don’t understand why you would need to mask it.
- kazinator 4y agoThe article shows a reference count field. Presumably, two pointers to the same object could differ in the reference count, which would require masking for them to compare equal.
- hayley-patton 4y agoThe structure described is an element of a "symbol table" and not a Lisp pointer. Which makes it even weirder honestly.