GoMem is a high-performance memory allocator library for Go
github.com·1d

GoMem

Language: English | 中文

GoMem is a high-performance memory allocator library for Go, extracted from the Monibuca project.

Features

  • Multiple Allocation Strategies: Support for both single-tree and two-tree (AVL) allocation algorithms
  • Buddy Allocator: Optional buddy system for efficient memory pooling
  • Recyclable Memory: Memory recycling support with automatic cleanup
  • Scalable Allocator: Dynamically growing memory allocator
  • Memory Reader: Efficient multi-buffer reader with zero-copy operations

Build Tags

The library supports several build tags to customize behavior:

  • twotree: Use two-tree (AVL) implementation…

Similar Posts

Loading similar posts...