qiulaidongfeng
qiulaidongfeng
The issue has been settled go build the following code, with or without import errors, is 1.4M in size ```go package main import _ "errors" func main() { } ```
See https://github.com/golang/go/issues/54341#issuecomment-1879968971 , I think this issue can be closed. @dsnet Could you please close this issue?
An idea, how about tcp communication after starting go list? Another idea is that go list seems to be looking for dep, is there a way to read std once...
What about this code that treats any as [2]uintptr?(Currently any is equivalent to a structure of two Pointers, thus converted no problem or rely on existing compiler behavior?) https://gitee.com/qiulaidongfeng/arena/blob/master/buf.go#L150
I wrote a prototype for this proposal that will work well on my computer. output in my computer: ``` go env -changed set GO111MODULE=auto set GOCACHE=D:\file\go-build set GOPATH=D:\file\gofile set GOPROXY=https://goproxy.cn,direct...
> Probably print a blank line for each unchanged variable named on the command line? I think go env -changed only prints the non-default values of the environment variables that...
use https://go.dev/cl/563137 my machine in windows ``` $ go env -changed GOPATH GOROOT GOMODCACHE set GOPATH=D:\file\gofile ``` in wsl2 ``` $ go env -changed GOPATH GOROOT GOMODCACHE GOPATH='/mnt/d/file/gofile/' ``` Because...
Old test program go1.21.7 ``` 418.02 fps (125405 frames in 300.00 seconds) 696.7% ``` go1.22.0 ``` 408.97 fps (122692 frames in 300.00 seconds) 681.6% ``` My machine is R7 7840hs...
@JetSetIlly I tried the new test program and, after getting the output, manually rewrote it into the [format](https://go.googlesource.com/proposal/+/master/design/14313-benchmark-format.md) accepted by [benchstat](https://pkg.go.dev/golang.org/x/[email protected]/cmd/benchstat). [go122.txt](https://github.com/golang/go/files/14232164/go122.txt) [go121.txt](https://github.com/golang/go/files/14232165/go121.txt) I got this ``` benchstat go121.txt go122.txt...
I tried [GOEXPERIMENT=noallocheaders](https://go.dev/doc/go1.22#runtime) ,no change in performance. I tried [GOEXPERIMENT=newinliner](https://go.dev/doc/go1.22#compiler), performance(413.28 fps) is slightly improved, but fps is still less than go1.21.7(419 fps).