Documentation
¶
Overview ¶
Package stackprime grows the calling goroutine's stack in one step.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prime ¶
func Prime()
Prime grows the stack of the calling goroutine to hold bytes more than it uses now. A goroutine that starts with the runtime's smallest stack and reaches a deep call copies its whole stack at each doubling, and each copy walks every frame it has so far; one growth at the top, where the stack holds a frame or two, copies almost nothing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.