diff options
| author | Michael Matloob <matloob@golang.org> | 2022-10-05 12:54:00 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2022-10-05 18:59:21 +0000 |
| commit | 881a16542e357fd85ac492424021ff380175675a (patch) | |
| tree | d6169df5225767c68811e343a86d6bbabfd91c09 /src/encoding | |
| parent | 3a37b112816d0002ed29804401560e0419b11a92 (diff) | |
| download | go-881a16542e357fd85ac492424021ff380175675a.tar.xz | |
cmd/go/internal/modindex: ignore non-source files for index
We were saving non-go file information in the module index files,
leading in an unnecessary increase in memory usage in modules
containing many non-go files. This was a bug because this information
is never used. Don't save that information.
For #54226
Change-Id: I0644064f83f96e3a9f43b7e66ca94d69d9603376
Reviewed-on: https://go-review.googlesource.com/c/go/+/439118
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
