MemoryPool memoryPool(1024 * 1024 * 100, 1024 * 1024 * 50);// Initialize a 100M memory pool, 50M each time to extend.
void* memory = memoryPool.Obtain(1024 * 1024 * 10);// Obtain 10M memory from pool.
memoryPool.Recycle(memory);// Recycle memory block back to pool.
-
Notifications
You must be signed in to change notification settings - Fork 0
Lareyd/Memory
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cross platform memory management based on C++
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published