Skip to content

pickdani/optimized-memory-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

optimized-memory-allocator

Optimized multithread bucket allocator with the goal of outperforming the system allocator.

performance graph

hwx_malloc.c

Baseline circular singly linked free-list allocator.

sys_malloc.c

Wrapper for the system allocator.

opt_malloc.c

Optimized thread-safe bucket allocator.

Supported functions

void*  xmalloc(size_t bytes);
void     xfree(void* ptr);
void* xrealloc(void* prev, size_t bytes);

About

Optimized thread-safe bucket allocator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published