Menu

Tree [bf644a] master /
 History

HTTPS access


File Date Author Commit
 CHANGELOG.txt 2011-12-28 Daniel van Vugt Daniel van Vugt [bf644a] Fix search/replace mistake ("INIT_LOCKIALIZER")
 LICENSE.txt 2011-06-27 Daniel van Vugt Daniel van Vugt [1ad3c8] Added a license (FreeBSD / BSD-2-clause style)
 Makefile 2011-06-27 Daniel van Vugt Daniel van Vugt [05a921] Reverted to mutexes, avoids linking to libpthread.
 README.txt 2011-06-27 Daniel van Vugt Daniel van Vugt [3b5f41] Introduced CHANGELOG and README files
 vavuma-replace-libc.c 2011-06-27 Daniel van Vugt Daniel van Vugt [1ad3c8] Added a license (FreeBSD / BSD-2-clause style)
 vavuma.c 2011-12-28 Daniel van Vugt Daniel van Vugt [bf644a] Fix search/replace mistake ("INIT_LOCKIALIZER")
 vavuma.h 2011-06-27 Daniel van Vugt Daniel van Vugt [1ad3c8] Added a license (FreeBSD / BSD-2-clause style)

Read Me

Vavuma
A memory allocator
Copyright (c) 2011, Daniel van Vugt <danv@users.sf.net>
All rights reserved. See LICENSE.txt for details.

README

Vavuma provides an alternative way to allocate dynamic memory. It is designed
to be:
  * very fast with O(1) allocations and frees;
  * very efficient in its memory use, using no more memory than Linux ptmalloc;
  * very small at approximately 400 lines of C code. That's an order of
    magnitude smaller than the alternatives;
  * very smart in minimizing fragmentation.

The library can be used directly in new projects by calling the vavuma_
functions declared in vavuma.h, or may be used to override the built-in
malloc/calloc/realloc/free functions at runtime for existing programs.

For example, in Linux you may use vavuma to override the built-in malloc
functions using this command:
  env LD_PRELOAD=/path/to/libvavuma.so <program>

Feedback is welcome. Happy allocating.

--
Daniel van Vugt <danv@users.sf.net>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.