Re: [go-nuts] Go 1.24 BLooper

2025-01-21 Thread 'Michael Pratt' via golang-nuts
There was a lot of discussion of this on the proposal, starting with (and well summarized by) https://go.dev/issue/61515#issuecomment-1646194700. If we don't inline, there will be cases like yours that wanted to benchmark with inlining but don't get it. If we do inline, there will be cases that are

[go-nuts] Go 1.24 BLooper

2025-01-20 Thread peterGo
Go 1.24 introduces B.Loop() to replace B.N. https://pkg.go.dev/testing@go1.24rc2#B.Loop https://pkg.go.dev/testing@go1.24rc2#B testing: add testing.B.Loop for iteration #61515 https://github.com/golang/go/issues/61515 As suggested by @rsc, b.Loop could be a clear signal to the com