Detect if two string references are identical

All of this is “internal implementation details” that could change
I would not recommend making ANY code that relies on these details