diff --git a/doc/go1.18.html b/doc/go1.18.html index b320579c37..1ca0a5560d 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -512,6 +512,12 @@ For more information, see https:// after each value that may be inaccurate.
+
+ The built-in function append
now uses a slightly different formula
+ when deciding how much to grow a slice when it must allocate a new underlying array.
+ The new formula is less prone to sudden transitions in allocation behavior.
+