Hacker News new | ask | show | jobs
by ryanpetrich 1702 days ago
A benefit of storing the reference count in the high bits is that overflows will never corrupt the flag bits and can be detected using the processor's flags instead of requiring a separate check. I'm not sure if this property is used here.