Skip to content

Commit

Permalink
Typo fix (hoanhan101#39)
Browse files Browse the repository at this point in the history
complie -> compile
  • Loading branch information
safakozdek authored Aug 21, 2020
1 parent df235b1 commit 698e83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/language/pointer.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func escapeToHeap() *user {
// ----------------------------------

// What happens next is during that function call, there is a little preamble that asks "Do we have
// enough stack space for this frame?". If yes then no problem because at complie time we know
// enough stack space for this frame?". If yes then no problem because at compile time we know
// the size of every frame. If not, we have to have bigger frame and these values need to be copied
// over. The memory on that stack moves. It is a trade off. We have to take the cost of this copy
// because it doesn't happen a lot. The benefit of using less memory in any Goroutine outweighs the
Expand Down

0 comments on commit 698e83b

Please sign in to comment.