Today we will accelerate the gluing of short lines in Go by 30%. And for this we do not need to modify Go itself, all this will be implemented as third-party library .
Under the cat you are waiting for:
strings.Builderand the proper concatenation function
Details of the internal device of rows in Go
Very little assembler
This article can also be considered a pretext to discuss CL123256: runtime, cmd /compile: specialize concatstring2 . Ideas for improving this change list ...