dkorunic / betteralign
git clone https://github.com/dkorunic/betteralign.git
Detect and fix suboptimal struct field layout in Go: reduces padding and GC pointer bytes, rewrites files while preserving comments. A drop-in fieldalignment replacement.
+0
stars, 24h · #58,423
+-1
stars, 7 days · #89,411
+1
stars, 30 days · #74,124
1.1k
★ total · -0% this week
22
forks · 0 open issues
Star history (as recorded here)
LanguageGo
LicenseBSD-3-Clause
Created2023-03-15 (3y ago)
Last push24d ago
OwnerUser
GitHub topics
alignmentanalyzerclifieldalignmentgarbage-collectorgogo-analysisgolanglintermemorymemory-optimizationpaddingperformancestatic-analysisstructstruct-alignment
Links
- GitHub: github.com/dkorunic/betteralign
- Homepage: https://pkg.go.dev/github.com/dkorunic/betteralign
- Releases · Issues · Hacker News mentions
README
Loading README…