3 ms·
The entire section about comparisons and string interning is extremely "work around the language".
by Dylan16807 6y ago
The entire section about comparisons and string interning is extremely "work around the language".
- tick_tock_tick 6y agoInterning is to reduce memory usage. I will agree the uintptr trick is a work around for the lack of weak refs in golang but the code isn't that different then what you would write if you have a referenced counted cache.