Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: less export data #6110
From the "SPLASH" talk: "[W]e measured the compilation of a large Google program written in Go to see how the source code fanout compared to the C++ analysis done earlier. We found it was about 40X, which is fifty times better than C++ (as well as being simpler and hence faster to process), but it's still bigger than we expected. There are two reasons for this. First, we found a bug: the Go compiler was generating a substantial amount of data in the export section that did not need to be there. Second, the export data uses a verbose encoding that could be improved. We plan to address these issues." Writing this down so it gets addresses. This was written a year ago but nothing has happened.
At least something happened for Go 1.1 (see also issue #4252): changeset: 15066:6b602ab487d6 user: Rémy Oudompheng <firstname.lastname@example.org> date: Sat Dec 08 14:43:00 2012 +0100 summary: cmd/gc: do not export useless private symbols. Is it possible to do the measurements again ?