[ANN] mall 0.0.1 Released

E

Eric Wong

mall version 0.0.1 has been released!

* <http://bogomips.org/mall>

This library provides access to the mallinfo(3) and mallopt(3)
functions. mallinfo(3) is used for reporting malloc statistics and
mallopt(3) can be used to tune malloc(3) implementations. See the
corresponding documentation for the C library functions before
proceeding.

These functions are implementation-specific, so tuning options that
work for one implementation of malloc may not work at all for another
implementation.

Constants defined in the the malloc.h header with a "M_" prefix are
defined without the prefix in the Mall namespace (e.g.
M_TRIM_THRESHOLD => Mall::TRIM_THRESHOLD).

== Synopsis

# Assuming a glibc/ptmalloc system:

require 'mall'

Mall.opt(Mall::TRIM_THRESHOLD, 1024*1024)
Mall.opt(Mall::TOP_PAD, 1024*1024)
Mall.opt(Mall::MXFAST, 80)

hash = Mall.info

== git repository

git://git.bogomips.org/mall.git
http://git.bogomips.org/mall.git

== cgit viewer

* http://git.bogomips.org/cgit/mall.git (cgit)

License: LGPLv3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top