bytebufferpool icon indicating copy to clipboard operation
bytebufferpool copied to clipboard

Reduce Memory Usage by Optimizing Order of Fields

Open gaby opened this issue 1 year ago • 1 comments
trafficstars

Results:

ubuntu@ubuntu:~/Desktop/git/bytebufferpool$ betteralign -test_files -generated_files -apply ./...
/home/ubuntu/Desktop/git/bytebufferpool/pool.go:25:11: 184 bytes saved: struct with 224 pointer bytes could be 40

@erikdubbelboer @valyala I'm not sure who is the maintainer of this repo.

gaby avatar Jul 20 '24 20:07 gaby

I'm afraid I'm not a maintainer, and can't merge this.

erikdubbelboer avatar Jul 21 '24 13:07 erikdubbelboer