mattconte/tlsf
Two-Level Segregated Fit memory allocator implementation. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 4117
- days_rel: n/a
- days_push: 1762
- n_releases_24m: 0
Adoption not part of the score
1603 stars · 239 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TLSF (Two-Level Segregated Fit) is a real-time memory allocator implementation in C offering O(1) malloc, free, realloc, and memalign with low fragmentation and minimal overhead. It supports multiple memory pools that can be added and removed at runtime, and is designed for embedded and real-time systems.
Use cases
- real-time memory allocator with O(1) malloc and free
- embedded systems heap allocator with low fragmentation
- custom allocator for memory pools in C
- deterministic allocator for game consoles or RTOS
- allocator with fixed 4-byte per-allocation overhead
- manage multiple memory pool regions dynamically
When to choose
- you need deterministic O(1) allocation timing for real-time or embedded systems
- you manage fixed memory pools and want low fragmentation and tiny footprint
- you need a small, portable C allocator without thread-safety overhead
When to avoid
- you need a thread-safe allocator out of the box
- you require a specific license (the repo lacks an explicit license file)
- you need general-purpose system allocator features like huge pages or NUMA awareness
Facets
library · maturity maintenance
embedded embedded-systems developer-tools performance c cpp embedded cross-platform memory-allocator tlsf real-time o1-allocator heap memory-management allocator
1 source
- readme: https://github.com/mattconte/tlsf · fetched 2026-08-28 · 968c3f0d60fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mattconte/tlsf | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem