> So the code you have is probably going to be about equally efficient anyway.
A quick benchmark [1] shows: goos: linux goarch: amd64 BenchmarkString1-8 5000000 251 ns/op BenchmarkString2-8 5000000 247 ns/op So yes, they're about the same :) I'll leave it as is. -NR [1] https://play.golang.org/p/2cOzBpoTfgE _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel