diff options
Diffstat (limited to '_content/blog/allocation-optimizations.md')
| -rw-r--r-- | _content/blog/allocation-optimizations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/blog/allocation-optimizations.md b/_content/blog/allocation-optimizations.md index d69e4ced..130d3305 100644 --- a/_content/blog/allocation-optimizations.md +++ b/_content/blog/allocation-optimizations.md @@ -276,7 +276,7 @@ the heap copy. This ensures that for our original `extract` code, if the number of items fits in our small stack-allocated buffer, we perform exactly 1 allocation of exactly the right size. If the number of items exceeds -the capacity our small stack-allocated buffer, we do our normal +the capacity of our small stack-allocated buffer, we do our normal doubling-allocation once the stack-allocated buffer overflows. The optimization that Go 1.26 does is actually better than the |
