genpark-buddy-memory-allocator-binary-tree-skill

mcp
Security Audit
Warn
Health Warn
  • 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 Pass
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

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)"]

Reviews (0)

No results found