# cacay/MemoryPool

An easy to use and efficient memory pool allocator written in C++.

Repository: https://github.com/cacay/MemoryPool
Canonical: https://ross.abutalabs.com/products/memorypool
Homepage: http://www.coskuacay.com
Language: C++
License Family: other
Last push: 2019-06-02T06:52:13+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4918, "days_push": 2649, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1454, forks 435 (observed 2026-08-28T04:04:46.733181+00:00)

## What it is
A C++ template class implementing a fast, low-overhead memory pool allocator compliant with much of the C++ Standard Library allocator interface. It allocates memory in large chunks and splits it into fixed-size pieces, making it ideal for allocating many same-sized objects.

## Use cases
- speed up allocation of many small same-sized objects
- reduce memory overhead versus malloc/new
- implement fast linked lists, trees, or hash tables with custom allocators
- avoid memory fragmentation in high-performance C++ programs
- bulk-free all objects at once without individual deletes

## When to choose
- you need to allocate many objects of a known, fixed size
- allocation performance is a bottleneck in your C++ program
- you want a simple, readable allocator to base your own implementation on

## When to avoid
- you need variable-size or general-purpose allocation
- objects have non-trivial destructors requiring individual cleanup
- you need an actively maintained library with ongoing support

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, performance
- platform: cpp, cross-platform
- tags: memory-pool, allocator, c++11, template-library, header-only, memory, performance, algorithms

## Member repositories
- cacay/MemoryPool (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.733181+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:41.946746+00:00, confidence not recorded.
  - readme: https://github.com/cacay/MemoryPool (fetched 2026-08-28T04:04:46.733181+00:00, sha 5ca302bd2533)
  - homepage: http://www.coskuacay.com (fetched 2026-08-29T11:44:52.316100+00:00, sha 98c26435bd97)
- Data as of 2026-08-30T08:39:29.467469+00:00.
