Hacker GitHub

← All repos

mdempsky/maligned

View on GitHub ↗ ★ 535 Go

Tool to detect Go structs that would take less memory if their fields were sorted.

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2019-04-03 · latest 2022-01-10

Mentions per year 3 mentions · busiest year 2022 (2)
20082026
  1. The standard way to check for these was https://github.com/mdempsky/maligned . It is now deprecated in favour of https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/fie... . You can now check for these using go vet: go install…
  2. This can help: https://github.com/mdempsky/maligned
  3. ▲ 1
    Maligned: Detect Go structs that would take less memory if aligned
    story by pjf · 2019-04-03 · 0 comments