Comment Comment by nhooyr Your example doesn't seem right. Doesn't the Get perform an allocation anyway because you access the value of the pointer and store it in a new variable b? It's very likely b will escape to the heap. parent nhooyr 7 years ago