Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



The 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.


The structure described is an element of a "symbol table" and not a Lisp pointer. Which makes it even weirder honestly.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: