stackprime

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL