Commit graph

22 commits

Author SHA1 Message Date
Michael Steinert b3dbf75da5 Remove zmalloc dependency
Zmalloc comes from Redis. It's purpose is to track total allocations so
that a maximum can be set. For more information see the following links:

https://groups.google.com/forum/#!topic/redis-db/dPRdpowqJsY
https://stackoverflow.com/questions/22729730/when-would-one-use-malloc-over-zmalloc

This allocator is slower, not needed, and conflicts with Zlib (when
linking statically). This patch removes Zmalloc in favor of the system
allocator. Application developers can still choose to override the
allocator in their applications, e.g. Jemalloc, TCMalloc, etc.

Fixes #104
2018-07-10 08:20:46 -05:00
phynalle 267ab34c36 Add include headers 2016-04-27 03:45:11 +09:00
Yo-An Lin 0ba956159c Check is not running, fix check
Also update .travis.yml
2016-03-12 12:46:05 +08:00
c9s c609003c95 optimize c flags for development/production mode 2015-11-21 10:39:49 +08:00
c9s c128cdef13 Provide better feature checking for stdbool 2015-11-17 21:31:33 +08:00
c9s 973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
whitglint a361e1fe58 Add r3.hpp to Makefile.am. 2014-06-04 17:24:29 +08:00
c9s 2ff85c876d Fix simple.c and examples/Makefile.am 2014-06-03 22:41:39 +08:00
c9s bad59e99be Update include_headers 2014-06-03 22:07:21 +08:00
c9s 053f9202f6 merge graphviz function prototype into r3.h 2014-06-03 20:47:35 +08:00
c9s db0e1c074f SUBDIRS sequences 2014-06-03 00:47:06 +08:00
c9s 493a9d7d8e Add coverage option to gcc 2014-06-02 06:14:23 +08:00
c9s 7d6209d99c build with 3rdparty objects
use -static linking when linking libr3

AM_CFLAGS and AM_LDFLAGS are Makefile.am scope options

disable valgrind tracing check-tree

Makefile.am fix

Add json support

remove useless c files
2014-06-01 19:43:45 +08:00
c9s 15933a061e update include header files 2014-05-29 10:14:25 +08:00
c9s f597239986 fix 2014-05-26 21:44:48 +08:00
Omer Katz 9c191682da Added zmalloc from redis in order to allow different allocators. 2014-05-20 20:50:15 +03:00
c9s 5183e9a052 merge r3_define.h into r3.h 2014-05-20 23:33:51 +08:00
ChangZhuo Chen (陳昌倬) 21c31b37b7 Add missing files to Makefile.am 2014-05-18 13:52:56 +08:00
c9s 7b44ffbcfa Add ACLOCAL_AMFLAGS 2014-05-17 15:30:25 +08:00
ChangZhuo Chen (陳昌倬) be0cd0df76 Add r3.pc 2014-05-17 11:35:45 +08:00
ChangZhuo Chen (陳昌倬) 0ad579912c Install header files 2014-05-17 11:23:01 +08:00
c9s 82175ba66d autotool checking 2014-05-17 06:37:30 +08:00