« * K @mvdan.cc

Jake Bailey @jakebailey.dev

2026-06-15 16:18 UTC

This is a fun one: I just sent go.dev/cl/790740, which elides method wrappers for embedded types at offset zero, common for mixins/inherited data types. Doing this removes 60 _thousand_ method wrappers from tsgo's AST package, dropping the compilation of our main exe from 49s to 28s on my machine.

1 picture (not shown on this phone): Benchmark 1: go build -a ./cmd/tsgo Time (mean ± σ): 48.992 s ± 0.274 s [User: 345.152 s, System: 12.545 s] Range (min …

66 likes, 6 reposts, 3 replies

3 Next post4 More from @jakebailey.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup