Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Allocate ¶
func Allocate[T any]() (t []T)
Allocate creates a new slice s by using a total size of a page size. The length and capacity is set to "page size / size of type".
func Grow ¶
func Grow[T any](src []T) (out []T)
Grow appends a new page of values to a given slice src and save it as a new slice dst.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.