can I temporarily disable garbage collection in order to use memory addresses as keys in a hash map while marshaling a cyclic data structure? without disabling GC, it might mo...
package main import "crypto/sha512" func doesCompile(data []byte) []byte { digest := sha512.Sum512(data) return digest[:] } func doesNotCompile(data []byte) []byte { ...
wait map[*uint]struct{} for example is valid?