dev-lang/go-1.2: backport of optimizations from Golang 1.3