Skip to content

Glossary: Go in Practice

strings.Builder

Builds a string piece by piece in one growing buffer, without copying the whole thing each time, as `+=` does. It made Priya's `Receipt` about 12 times faster.

Where the book teaches it

Related terms

AllocationBenchmark