Ross ROSS = Recommend OSS · open-source software intelligence for agents

sebbbi/OffsetAllocator

Fast O(1) offset allocator with minimal fragmentation observed · 2026-08-28

github.com/sebbbi/OffsetAllocator · C++ · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

31/100

  • Activity 0
  • Release rhythm 35
  • Longevity 94

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1319
  • days_rel: n/a
  • days_push: 855
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1057 stars · 60 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A fast hard-realtime O(1) offset allocator in C++ with minimal fragmentation, using 256 floating-point-distributed bins and two-level bitfields. It returns offsets rather than pointers, making it ideal for sub-allocating GPU heaps, buffers, and other resources.

Use cases

  • sub-allocate GPU heap memory in a rendering engine
  • allocate offsets into a large buffer with hard real-time guarantees
  • replace pow2 buddy allocators to reduce memory waste
  • manage VRAM allocations in a game engine
  • implement fast fixed-size-class memory pooling

When to choose

  • you need O(1) worst-case allocation with bounded fragmentation overhead (~6.25% average)
  • you allocate offsets into a resource like a GPU heap rather than raw memory
  • hard real-time constraints rule out general-purpose allocators

When to avoid

  • you need a general-purpose malloc replacement returning pointers
  • allocation sizes are highly irregular and unbounded
  • your project is not C++

Facets

library · maturity active

caching graphics performance cpp cross-platform allocator gpu-memory real-time sub-allocation o1 header-only memory-allocation algorithms

1 source

Member repositories

RepositoryRoleHealth v2
sebbbi/OffsetAllocatormain31

For agents

markdown · JSON · MCP: product_card(name="sebbbi/OffsetAllocator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem