3 ms·
> The Go compiler already performs interning on string constants at compile time, ... Anyone know where this is documented?
by everybodyknows 2y ago
> The Go compiler already performs interning on string constants at compile time, ...
Anyone know where this is documented?
- adonovan 2y agoThis behavior is unspecified, and it's not observable without using the "unsafe" package.