5 ms·
> Again, I wouldn't comment if variable-sized int was in Go 1.0 implementation, but it wasn't. It has always been in the Go 1.0 specification: "There is also
by mseepgood 14y ago
> Again, I wouldn't comment if variable-sized int was in Go 1.0 implementation, but it wasn't.
It has always been in the Go 1.0 specification:
"There is also a set of predeclared numeric types with implementation-specific sizes:
uint either 32 or 64 bits
int same size as uint"
http://golang.org/ref/spec#Numeric_types http://golang.org/ref/spec#Numeric_types
It's just that the Go 1.1 implementation now takes advantage of this freedom.