package
0.0.0-20241212132234-0076f9e1ccd7
Repository: https://github.com/basecomplextech/baselibrary.git
Documentation: pkg.go.dev

# Functions

AcquireArena returns a pooled arena, which is released to the pool on Free.
Alloc allocates a new object and returns a pointer to it.
New returns an empty non-thread-safe arena.
NewFreeList returns a new free list which allocates objects in the given arena.
NewMutexArena returns a new thread-safe arena which uses a mutex to synchronize access.
No description provided by the author
No description provided by the author

# Interfaces

Arena is an arena allocator, which internally allocates memory in blocks.
FreeList is a linked list of free objects allocated in the arena.

# Type aliases

MutexArena is a thread-safe arena which uses a mutex to synchronize access.