arena

package
v0.0.0-...-89416fd Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeByteSlice

func MakeByteSlice(alloc *ga.Arena, len_, cap int) []byte

func MakeNew

func MakeNew[T any](alloc *ga.Arena) *T

Types

type Arena

type Arena interface {
	Allocator() *ga.Arena
	AllocateByteSlice(len_, cap int) []byte
	Free()
}

func NewArena

func NewArena() Arena

type ByteArena

type ByteArena []byte

func (*ByteArena) Allocate

func (na *ByteArena) Allocate(len_ int) []byte

Jump to

Keyboard shortcuts

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