1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:40:09 -07:00
go/src/slices
Ian Lance Taylor 3de5b4da26 slices: amortize allocations in Insert
Fixes #54948

Change-Id: I467afb940b539b100dcce687b05914a9da7b9ed2
Reviewed-on: https://go-review.googlesource.com/c/go/+/484159
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Valentin Deleplace <deleplace@google.com>
2023-04-13 17:55:12 +00:00
..
slices_test.go slices: amortize allocations in Insert 2023-04-13 17:55:12 +00:00
slices.go slices: amortize allocations in Insert 2023-04-13 17:55:12 +00:00