I've landed my first compiler PR for golang/go 🎉

It optimizes `[]byte(str1 + str2)` conversions by making them a single step instead of first concatenating the string and _then_ copying the result in a new slice.

github.com/golang/go/commit/fe

Follow

Admittedly, it really took handholding and patience from the Go team there, which I really appreciate 😅

On to the next one!

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!