Commit graph

829 commits

Author SHA1 Message Date
c9s
49ffb454f7 Add namespace for node/edge structs
node => R3Node
edge => R3Edge

Related issue #63
2015-11-18 12:53:46 +08:00
c9s
ef55fb9cdb Another fix for stdbool types 2015-11-17 21:43:10 +08:00
c9s
1f1ab15cdd Fix for stdbool type 2015-11-17 21:40:21 +08:00
c9s
b0971e1553 Fix include 2015-11-17 21:35:18 +08:00
c9s
c128cdef13 Provide better feature checking for stdbool 2015-11-17 21:31:33 +08:00
c9s
3808cb37aa Move debug macros to private header files 2015-11-17 21:24:36 +08:00
c9s
a2f5205bc5 Update benchmark result 2015-11-17 21:18:41 +08:00
c9s
973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
c9s
6275e8724c Traivs: Add allow_failures section to matrix 2015-11-17 21:13:38 +08:00
c9s
e5ef80a200 Move private function to src/str.h 2015-11-17 21:13:38 +08:00
Yo-An Lin
5e6252d8a3 Merge pull request #91 from RickySu/2.0-fix
add include config.h
2015-11-17 21:08:25 +08:00
c9s
63577cfecc Remove unused str_repeat function 2015-11-17 21:06:59 +08:00
Ricky Su
88dc323f7f add include config.h 2015-11-17 20:59:17 +08:00
c9s
38651578f9 Update matrix 2015-11-17 18:41:58 +08:00
c9s
122d85d9e1 Remove unused str* function decl 2015-11-17 18:33:33 +08:00
c9s
520dba47a5 ASAN test to be allowed failure 2015-11-17 18:32:51 +08:00
c9s
dbc18a86c4 __attribute__ 2015-11-17 18:32:51 +08:00
c9s
2484b7328c Add clang compiler to the matrix 2015-11-17 18:32:51 +08:00
c9s
af8acd0286 use __attribute aligned to align struct 2015-11-17 18:32:51 +08:00
c9s
35b8bb1cf2 Adjust window size 2015-11-17 18:32:51 +08:00
c9s
84a7d83812 Add padding to node struct 2015-11-17 18:32:51 +08:00
c9s
0407c48884 Add 2.0 to changelog 2015-11-17 18:32:51 +08:00
c9s
b52af2acbd Add padding to edge structure 2015-11-17 18:32:51 +08:00
c9s
150f7953a2 Remove unneccessary comments from struct 2015-11-17 18:32:50 +08:00
c9s
acb2ff1767 Move variable positions 2015-11-17 18:32:50 +08:00
c9s
cd430968ef Add GNU likely/unlikely support 2015-11-17 18:32:50 +08:00
c9s
4ce9068963 Cache pointer of edge 2015-11-17 18:32:50 +08:00
c9s
d4850d3564 Make edges as an array
Fixes: #89
2015-11-17 18:32:50 +08:00
c9s
28726b27af Fix r3_str.h header protection 2015-11-17 18:27:25 +08:00
c9s
89e4517772 Fix zero-length path insertion
Fixes: #86, #85
2015-11-17 16:10:26 +08:00
c9s
f795785dce Implement faster edge branching 2015-11-17 16:08:01 +08:00
c9s
2f3bcb7116 refactoring testcase group 2015-11-17 15:37:10 +08:00
c9s
b70c239b2c Fix benchmark warning 2015-11-17 15:37:10 +08:00
c9s
12947c74d0 update benchmark 2015-11-10 19:59:21 +08:00
c9s
3376d1b771 Judy array is not used. 2015-11-10 19:58:28 +08:00
c9s
c18c466a9b use 64 * 3 bytes instead of 220 bytes for combined pattern 2015-11-10 19:56:07 +08:00
c9s
fbe3fb66b1 Update benchmark 2015-11-10 19:48:37 +08:00
c9s
a2994cfdac Reuse restlen 2015-11-10 19:48:22 +08:00
c9s
34269aa045 Change compare_type from char to int 2015-11-10 19:36:01 +08:00
c9s
0d9fbdbff7 update benchmark result 2015-11-10 19:35:09 +08:00
c9s
659dc19b1b Replace short integer with int to fit into cacheline (assume 64byte) 2015-11-10 19:29:18 +08:00
c9s
5d35d34ab3 Put pcre_extra back 2015-11-10 19:21:53 +08:00
c9s
3e57819bdf update benchmark result 2015-11-10 19:20:48 +08:00
c9s
6234166ffd Update benchmark csv 2015-11-10 19:18:02 +08:00
c9s
5002272a33 Move pointer fields to top of the structure 2015-11-10 18:43:25 +08:00
c9s
b6d76f75c1 Update benchmark result on Macbook Pro Retina 2015-11-10 18:29:10 +08:00
c9s
5f39b73211 Add test_root_match test case 2015-10-18 07:39:50 +08:00
Yo-An Lin
031a37514e Merge pull request #83 from sjones608/cplusplus_bool
Don't typedef bool if compiling with C++
2015-10-01 09:56:22 +08:00
Steve Jones
d12296af59 Don't typedef bool if compiling with C++
If using the C++ wrapper provided by r3.hpp, you get a compiler
error when r3_define.h tries to typedef bool as C++ already has
native bool type.  Modified the guard around this typedef
to include a check for C++ compilation (!defined(__cplusplus)).
2015-09-28 11:42:45 -05:00
Yo-An Lin
eb2ff77e5c Merge pull request #82 from RickySu/memoryleak-fix
fix memory leak
2015-09-11 18:24:07 +08:00