No, this only affects the generated code. Any combination of [s|u]int{32|64} uses the encoding "varint", so the size is usually related to the value, at least after the difference in negative numbers is noted. In particular, a negative number that does not use uses sint* will be disproportionately large (10 bytes, IIRC), regardless of 32 or 64.
source share