commit | d0897a79cd3779a8307f427940c2b02b326d9f52 | [log] [tgz] |
---|---|---|
author | siarhei <sngasuan@gmail.com> | Thu Nov 10 07:38:56 2022 +0000 |
committer | Gopher Robot <gobot@golang.org> | Thu Nov 10 15:54:12 2022 +0000 |
tree | a0d0db8c3c7c4822aa475e534a0926ea5085eb6b | |
parent | fc8884afc31655a85312463eb4ca43f00d3e8f44 [diff] |
slices: return quickly for Compact of one element Change-Id: I993c34b2cedc18da3500d3ddcbdeeb6bbc73d10f GitHub-Last-Rev: 1620ea09e9518260e03d909734d9f6fbad5122de GitHub-Pull-Request: golang/exp#46 Reviewed-on: https://go-review.googlesource.com/c/exp/+/448878 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
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.