The costs: allocating the memory, having it set to zero values and keeping the garbage collector a little busier. All of that more than once if you don't keep the conversions down.
Profile and disassemble your program, Go comes with pretty great tools!
dvisher|12 years ago
The real cost of this is definitely the verbosity for something that could be much simpler.