You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discussion about having the Go compiler do it: golang/go#10014
It seems to me that this is a "niche issue". Sure, in some situations you care enough about the memory layout to do this, but those situations are few and far in-between; most of the time you couldn't care less.
i think this is good idea to write some plugin to organize the go struct for memory efficiency automatically ? i don't see any tools to do that .
take look at this https://github.com/Tkanos/optimizing-memory-by-ordering-struct-by-type
@fatih thanks
The text was updated successfully, but these errors were encountered: