Yeah, the cache based on String was already discussed long ago.
Dunno what was the outcome of that debate, but feel free to find it. :-)
If this doesn't have any negative impact, and it looks like it doesn't,
I don't have anything against changing the equality check.
... but it wouldn't be bad to find that old discusssion ...