Commit graph

20 commits

Author SHA1 Message Date
Björn Svensson
2c06b8d750 Fix Clang compiler warnings
When building using a newer Clang with additional diagnostics
the following warnings are given:
 -Wunused-but-set-variable
 -Wstrict-prototypes
These issues are corrected in this commit.

Reproducable using:
CC="clang-13" CFLAGS="-Wall -pedantic" cmake ..
2023-10-26 12:24:50 +02:00
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
karantin2020
75438ef3d3 Changed r3 memory model, made few optimizing 2016-03-22 07:23:37 +05:00
c9s
49ffb454f7 Add namespace for node/edge structs
node => R3Node
edge => R3Edge

Related issue #63
2015-11-18 12:53:46 +08:00
c9s
973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
c9s
b70c239b2c Fix benchmark warning 2015-11-17 15:37:10 +08:00
c9s
72f10015d5 Fix copyright email 2014-06-27 13:24:40 +08:00
c9s
dc61d54530 free tree2 2014-06-04 16:01:19 +08:00
c9s
adde7bc361 remove unused variables 2014-06-01 14:35:29 +08:00
c9s
1a4eb14a05 error code support
- return error code if compilation error occurs
- use asprintf to sprint errstr
2014-06-01 02:03:44 +08:00
c9s
e74deece23 include assert.h 2014-05-28 23:01:21 +08:00
c9s
7aaed3e5d7 merge str_array.h 2014-05-26 21:39:36 +08:00
c9s
9a1f7cfced update benchmark records 2014-05-23 17:36:47 +08:00
c9s
fc1a4b762d Separate benchmark application 2014-05-22 21:55:41 +08:00
c9s
c9fe373d91 benchmark function improvements 2014-05-22 21:01:25 +08:00
c9s
7f97440c72 Add bench_append_csv to combine multiple benchmark result in one entry 2014-05-22 20:48:01 +08:00
c9s
3879316e08 Add bench_duration function
Conflicts:
	tests/bench_str.csv
2014-05-22 20:32:14 +08:00
c9s
4572f5cb55 update correct testing records 2014-05-17 07:52:03 +08:00
c9s
e0c67acc61 rename to benchmark_print_summary 2014-05-17 07:48:57 +08:00
c9s
f5863a956d Add benchmark macros 2014-05-17 07:48:22 +08:00