diff options
| author | Keith Randall <khr@golang.org> | 2024-03-25 13:53:07 -0700 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2024-03-26 16:07:12 +0000 |
| commit | 2b5e99455d4fba77a2fa79aed53f36fcc9cf8d1f (patch) | |
| tree | b198a2a6cf1880911683434567b3ca73bacf719d /src/os/exec | |
| parent | 340f73ce34546609f44543abc7f4b124a839b423 (diff) | |
| download | go-2b5e99455d4fba77a2fa79aed53f36fcc9cf8d1f.tar.xz | |
runtime,hash/maphash: make tests use less memory
Use a list + sorting instead of a map to keep track of collisions.
Should save a fair amount of memory.
Change-Id: I7b48cdb5f7060d12ebbb950d56b5c479f131c027
Reviewed-on: https://go-review.googlesource.com/c/go/+/574275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions
