go/src/debug
Peter Collingbourne c9ed561db4 debug/elf: avoid using binary.Read() in NewFile()
With this change my test program that reads a tree of ELF files runs
1.71 ± 0.12 times faster without parallelism or 1.39 ± 0.06 times
faster using 8 goroutines.

Change-Id: I443d1a02736f16f5532ef28e1447c97aa87c7126
Reviewed-on: https://go-review.googlesource.com/c/go/+/571436
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2024-03-15 05:04:31 +00:00
..
buildinfo all: clean unnecessary casts for test files 2023-09-22 16:22:42 +00:00
dwarf debug: add available godoc link 2023-10-18 19:33:30 +00:00
elf debug/elf: avoid using binary.Read() in NewFile() 2024-03-15 05:04:31 +00:00
gosym debug/gosym: add detailed doc for text argument in NewLineTable 2024-01-25 19:43:24 +00:00
macho debug: add available godoc link 2023-10-18 19:33:30 +00:00
pe debug: add available godoc link 2023-10-18 19:33:30 +00:00
plan9obj debug: add available godoc link 2023-10-18 19:33:30 +00:00