Telegram Web
At the #golang North East meetup today
twitter.com/mvdan_
presented "Measuring Go's init performance cost". Here are graphs of the top 20 costs (bytes alloc and time) obtained by running:

GODEBUG=inittrace=1 go env GOARCH'

(this will be in Go 1.16, and available at tip now)
Even if it's a WIP, still worth to mention and follow 👀

Anyway string interning in #golang is a long-running topic and it's always interesting to see what is going on :)
Neat #golang trick how to pack multiple slice allocations into one (or less than in a naive way), thanks to twitter.com/tvii for showing this!

https://vladimir.varank.in/notes/2019/09/go-http-headers/

(slices are amazing)
2025/07/14 14:30:34
Back to Top
HTML Embed Code: