betteralign

betteralign

dkorunic

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.

1.1k Stars
22 Forks
10 Watchers
Go Language
bsd-3-clause License
100 SrcLog Score
Cost to Build
$42.4K
Market Value
$183.2K

Growth over time

3 data points  ·  2026-10-31 → 2026-11-15
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about betteralign

Question copied to clipboard

What is the dkorunic/betteralign GitHub project? Description: "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.". Written in Go. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

🏆 Show off this rank

dkorunic/betteralign on SrcLog (holo style)

Add it to a GitHub README or profile — the card updates as the ranking changes:

How to clone betteralign

Clone via HTTPS

git clone https://github.com/dkorunic/betteralign.git

Clone via SSH

[email protected]:dkorunic/betteralign.git

Download ZIP

Download main.zip

Found an issue?

Report bugs or request features on the betteralign issue tracker:

Open GitHub Issues