commit | bd9bcdd0b820cda8f3b6e2895ea5820078954427 | [log] [tgz] |
---|---|---|
author | Valentin Deleplace <deleplace@google.com> | Fri Aug 26 22:17:19 2022 +0200 |
committer | Keith Randall <khr@google.com> | Fri Aug 26 20:58:24 2022 +0000 |
tree | df557b56855d8f2ec619d0aa0ba1f666a3a47cf4 | |
parent | 4cc3b17fd1f1dbc9beb504c3879bcfedcbe9683e [diff] |
slices.Delete: fix runtime complexity documentation O(len(s)-j) i.e. proportional to the number of elements shifted to the left. Fixes golang/go#54699 Change-Id: Ifffeca54e0f53289015864aa301f20b9344befb9 Reviewed-on: https://go-review.googlesource.com/c/exp/+/425994 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.