package
0.0.0-20181009085715-d60a1a227b92
Repository: https://github.com/lightkool/tidb.git
Documentation: pkg.go.dev

# Functions

NewAllocator creates an Allocator with a specified capacity.

# Variables

StdAllocator implements Allocator but do not pre-allocate memory.

# Structs

SimpleAllocator is a simple implementation of ArenaAllocator.

# Interfaces

Allocator pre-allocates memory to reduce memory allocation cost.