{"action":"reopened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/20638","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/20638/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/20638/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/20638/events","html_url":"https://github.com/rust-lang/rust/issues/20638","id":53533044,"number":20638,"title":"Optimize enum layout","user":{"login":"mahkoh","id":1882250,"avatar_url":"https://avatars.githubusercontent.com/u/1882250?v=3","gravatar_id":"","url":"https://api.github.com/users/mahkoh","html_url":"https://github.com/mahkoh","followers_url":"https://api.github.com/users/mahkoh/followers","following_url":"https://api.github.com/users/mahkoh/following{/other_user}","gists_url":"https://api.github.com/users/mahkoh/gists{/gist_id}","starred_url":"https://api.github.com/users/mahkoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahkoh/subscriptions","organizations_url":"https://api.github.com/users/mahkoh/orgs","repos_url":"https://api.github.com/users/mahkoh/repos","events_url":"https://api.github.com/users/mahkoh/events{/privacy}","received_events_url":"https://api.github.com/users/mahkoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-codegen","name":"A-codegen","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-06T16:32:26Z","updated_at":"2015-04-11T19:24:30Z","closed_at":null,"body":"```rust\r\nfn main() {\r\n    enum X { A, B(u8, uint) }\r\n    enum Y { A, B(uint, u8) }\r\n    assert_eq!(std::mem::size_of::<X>(), 16);\r\n    assert_eq!(std::mem::size_of::<Y>(), 24);\r\n}\r\n```"}}