{"id":13730240,"url":"https://github.com/hardikp/cpp-mempool","last_synced_at":"2025-05-08T02:32:07.184Z","repository":{"id":69024294,"uuid":"114673485","full_name":"hardikp/cpp-mempool","owner":"hardikp","description":"C++ header-only mempool library","archived":false,"fork":false,"pushed_at":"2017-12-20T02:43:24.000Z","size":90,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T21:37:53.570Z","etag":null,"topics":["cpp","memory-allocation","memory-management","memory-pool"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardikp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-12-18T18:15:38.000Z","updated_at":"2024-10-14T17:57:56.000Z","dependencies_parsed_at":"2023-03-11T04:55:42.991Z","dependency_job_id":null,"html_url":"https://github.com/hardikp/cpp-mempool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikp%2Fcpp-mempool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikp%2Fcpp-mempool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikp%2Fcpp-mempool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikp%2Fcpp-mempool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardikp","download_url":"https://codeload.github.com/hardikp/cpp-mempool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252986903,"owners_count":21836252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","memory-allocation","memory-management","memory-pool"],"created_at":"2024-08-03T02:01:12.035Z","updated_at":"2025-05-08T02:32:06.899Z","avatar_url":"https://github.com/hardikp.png","language":"C++","readme":"[![Build Status](https://travis-ci.org/hardikp/cpp-mempool.svg?branch=master)](https://travis-ci.org/hardikp/cpp-mempool)\n\n# cpp-mempool\nC++ header-only mempool library\n\n## Examples\n```C++\n#include \u003cmempool.h\u003e\n\nint main(int argc, char** argv) {\n  unsigned capacity = 1024;\n  MemPool\u003cint\u003e pool(capacity);\n\n  for (auto i = 0u; i \u003c capacity * 2; i++) {\n    int *location = pool.allocate();\n  }\n}\n```\n\n## Notes\n* `MemPool` is not thread-safe. If you're trying to use a single memory pool from multiple threads, it can create race conditions.\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardikp%2Fcpp-mempool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardikp%2Fcpp-mempool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardikp%2Fcpp-mempool/lists"}