Created
May 28, 2015 05:48
-
-
Save richo/e1773a9c5db57ee365e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enum Thing { | |
| Bar(HugeArray), | |
| Baz(HugeArray), | |
| } | |
| struct Foo { | |
| s: Box<Thing>, | |
| } | |
| // vs | |
| enum Thing { | |
| Bar(Box<HugeArray>), | |
| Baz(Box<HugeArray>), | |
| } | |
| struct Foo { | |
| s: Thing, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment