FAQ
string takes two words, one for pointer, one for Len. so every time it will allocate these two words on heap and then setup interface point to these two words.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 8 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 10, '15 at 12:53a
activeJul 10, '15 at 4:36a
posts8
users4
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase