Skip to content
/ Memory Public

Cross platform memory management based on C++

Notifications You must be signed in to change notification settings

Lareyd/Memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Memory

Memory pool example

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.

About

Cross platform memory management based on C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages