Every programming language aims to be performant in its niche and achieving superior performance requires a bunch of compiler and interpreter level optimizations. Since character Strings are an ...
no two interned strings have the same content (across an interpreter); two interned strings can be safely compared using pointer equality (Python is). This is used to optimize dict and attribute ...