aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2026-01-14 17:38:02 -0500
committerCherry Mui <cherryyz@google.com>2026-01-15 13:56:55 -0800
commit9ff9e89742498021efc29959f0c648c0409b43f5 (patch)
tree55f385ca5505fa1a54b93dcda072a01c8c8d2e16
parent9ffe6a240df943292692ac71bc43b0d448843409 (diff)
downloadgo-x-website-9ff9e89742498021efc29959f0c648c0409b43f5.tar.xz
_content/doc/go1.26: document binary size increase from specialized malloc
Fixes golang/go#77049. Change-Id: Ia5af235c2742b1323826fa7df1049d2656c73af9 Reviewed-on: https://go-review.googlesource.com/c/website/+/736460 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rw-r--r--_content/doc/go1.26.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/_content/doc/go1.26.md b/_content/doc/go1.26.md
index a2958708..c8974122 100644
--- a/_content/doc/go1.26.md
+++ b/_content/doc/go1.26.md
@@ -119,6 +119,8 @@ routines, reducing the cost of some small (<512 byte) memory allocations by
up to 30%.
Improvements vary depending on the workload, but the overall improvement is
expected to be ~1% in real allocation-heavy programs.
+This causes the binary size to increase by about 300 KB (independent of the
+workload).
Please [file an issue](/issue/new) if you notice any regressions.
You may set `GOEXPERIMENT=nosizespecializedmalloc` at build time to disable
it.