genpark-buddy-memory-allocator-binary-tree-skill
mcp
Uyari
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Gecti
- Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Binary buddy system memory allocator managing power-of-two blocks, coalescing, and split operations
README.md
Buddy Memory Allocator Skill
High-efficiency, zero-dependency Python implementation of the Binary Buddy System Memory Allocator.
Features
- Power-of-Two Splitting: Minimizes external fragmentation via recursive block halving.
- Fast XOR Coalescing: Instant (O(1)) buddy pairing via bitwise XOR offset identity.
- Zero External Dependencies: Pure Python standard library.
- Native MCP Protocol: JSON-RPC 2.0 stdio server compatible with Claude Desktop, Cursor, and Windsurf.
Architecture
graph TD
Block1024["1024 KB Block"] --> B512_0["512 KB (Allocated)"]
Block1024 --> B512_1["512 KB"]
B512_1 --> B256_0["256 KB (Free)"]
B512_1 --> B256_1["256 KB (Free)"]
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi