diff --git a/doc/go1.18.html b/doc/go1.18.html index 4d1b6520ee..fb9e685c69 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -571,7 +571,7 @@ Do not send CLs removing the interior tags from such phrases.

Trim, TrimLeft, - and TrimRight are now allocation free and, especially for + and TrimRight are now allocation free and, especially for small ASCII cutsets, up to 10 times faster.

@@ -759,6 +759,14 @@ Do not send CLs removing the interior tags from such phrases. new {{continue}} command will immediately start the next loop iteration.

+ +

+ The and function no longer always evaluates all arguments; it + stops evaluating arguments after the first argument that evaluates to + false. Similarly, the or function now stops evaluating + arguments after the first argument that evaluates to true. This makes a + difference if any of the arguments is a function call. +

@@ -938,7 +946,7 @@ Do not send CLs removing the interior tags from such phrases.

Trim, TrimLeft, - and TrimRight are now allocation free and, especially for + and TrimRight are now allocation free and, especially for small ASCII cutsets, up to 10 times faster.