Looks like on-going work, finally completed in 1.21? https://github.com/golang/go/issues/27151 On Tuesday, August 15, 2023 at 9:31:41 PM UTC-7 Kurtis Rader wrote:
> All of the packages are significantly smaller -- not just those for macOS. > So this isn't due to anything specific to the macOS package(s). Looking at > the release notes for Go 1.21.0 I don't see an obvious explanation for the > reduction. Downloading and extracting those two packages shows the contents > have a proportional size difference: > > > du -sh go1.20.7/ go1.21.0/ > 264M go1.20.7/ > 237M go1.21.0/ > > > Most of the files and directories are larger in the 1.21.0 release. There > are some notable exceptions. The main one, accounting for most of the > decrease, is the tool directory: This is the `df -k` diff: > > < 111520 ./pkg/tool/darwin_arm64 > --- > > 80704 ./pkg/tool/darwin_arm64 > > > That is a 3 MB reduction (28%) in the total size of the Go tools. Why are > the Go tools so much smaller? I don't see an obvious answer in the release > notes. > > > On Tue, Aug 15, 2023 at 8:49 PM xie cui <cuiw...@gmail.com> wrote: > >> >> go1.20.7.darwin-arm64.tar.gz >> <https://go.dev/dl/go1.20.7.darwin-arm64.tar.gz>ArchivemacOSARM6492MB >> >> go1.21.0.darwin-arm64.tar.gz >> <https://go.dev/dl/go1.21.0.darwin-arm64.tar.gz>ArchivemacOSARM6462MB >> this size reduce about 30%. >> why the size reduce a lot? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/67bb5470-0b40-4a33-9d11-fefa7f6fd7a6n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/golang-nuts/67bb5470-0b40-4a33-9d11-fefa7f6fd7a6n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/90e15ffe-a72c-4714-9c66-798bb0ddab70n%40googlegroups.com.