Skip to content

A fixed block memory allocator by David Lafreniere, ported for Linux

Notifications You must be signed in to change notification settings

excelle08/xallocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xallocator - A fast fixed block memory allocator

This memory allocator is authored by David Lafreniere (Replace malloc/free with a Fast Fixed Block Memory Allocator). I revised the code a little bit to make it compatible with POSIX environment, reorganized it and created a Makefile for it to generate a shared library libxallocator.so.

Usage

  • Build the shared library: make

  • Clean up intermediate files: make cleantmp

  • Build the demo: make demo. Then the demo program main will appear in the repo directory. Note that currently the benchmarks are only runnable on Windows.

  • Install the library: sudo make install. The headers will be copied to /usr/local/include/xalloc.

  • Remove the library: Remove /usr/local/lib/libxallocator.so and /usr/local/include/xalloc

About

A fixed block memory allocator by David Lafreniere, ported for Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published