Compare commits
No commits in common. "4fb6031ff574c7a86e082772d955e36c48382670" and "2179238502988af968d202a95314697796f1fff6" have entirely different histories.
4fb6031ff5
...
2179238502
@ -81,7 +81,7 @@ Process 65188 stopped
|
|||||||
```
|
```
|
||||||
|
|
||||||
Our program allocates two variables on the stack directly here. Notice that they
|
Our program allocates two variables on the stack directly here. Notice that they
|
||||||
are allocated right next to each other, their address only one byte apart. Most
|
are allocated right next to each other, their address only one bit apart. Most
|
||||||
primitive types are allocated on the stack, and are copied when being passed
|
primitive types are allocated on the stack, and are copied when being passed
|
||||||
around because they are small enough, so that copying them around is more
|
around because they are small enough, so that copying them around is more
|
||||||
reasonable than allocating them in the heap and passing around a pointer to
|
reasonable than allocating them in the heap and passing around a pointer to
|
||||||
|
Loading…
Reference in New Issue
Block a user