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 · #48,325
+~0
stars, 7 days · #48,399
+~0
stars, 30 days · #48,537
1.1k
★ total
23
forks · 0 open issues
Star history (as recorded here)
LanguageGo
LicenseBSD-3-Clause
Created2023-03-15 (3y ago)
Last push1d ago
OwnerUser
GitHub topics
alignmentanalyzerclifieldalignmentgarbage-collectorgogo-analysisgolanglintermemorymemory-optimizationpaddingperformancestatic-analysisstructstruct-alignment