On Wed, Sep 5, 2018 at 4:23 PM Eric Raymond <e...@thyrsus.com> wrote:

> Matters in my case because the deserialization of a repository history
can contain hundreds of thousands of constants like "M", "D", "R", and "C"
> representing fast-export stream file operation types. I could intern them
explicitly but it avoid code clutter and some lookup time if I don't have
to.

Maybe I'm misunderstanding something, but the above quoted seems to talk
about string values obtained at runtime. The linker coalescing string
literals (compile time constants) discussed before does and cannot apply to
string values not known at compile time.

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to