Commit graph

756 commits

Author SHA1 Message Date
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
Ricky Su
292b082c78 fix memory leak 2015-09-11 15:14:07 +08:00
Yo-An Lin
d9a7deab9a Merge pull request #81 from RickySu/headerfile-fix
add extern c in c++
2015-08-28 14:00:08 +08:00
Ricky Su
d5296df683 add extern c in c++ 2015-08-27 13:58:36 +08:00
Yo-An Lin
5eb3e483b3 Merge pull request #80 from RickySu/slug_find_name
add r3_slug_find_name and rename slug_count to r3_slug_count
2015-08-26 22:06:46 +08:00
Ricky Su
f445c261c6 add r3_slug_find_name and rename slug_count to r3_slug_count 2015-08-26 22:00:23 +08:00
c9s
3a62cb6559 Fix cmake build 2015-03-05 11:45:39 +08:00
Gasol Wu
85f1b218a5 Make build sucessful 2015-02-12 13:21:50 +08:00
Gasol Wu
50643bb25f Add missing files from Pux 2015-02-12 13:21:50 +08:00
Gasol Wu
868ee4a27b Add workable config.m4 2015-02-12 13:21:50 +08:00
Brendan Ashworth
01239c96f6 Fixes typo 2015-02-12 12:44:41 +08:00
Brendan Ashworth
ea286b2c56 Adds clib package.json for dependency management 2015-02-12 12:44:41 +08:00
Yo-An Lin
17276ae8eb Update README.md 2015-01-27 17:35:26 +08:00
Yo-An Lin
c7fcba3ee5 Merge pull request #77 from pangyre/patch-1
Update README.md
2014-11-20 15:34:43 +08:00
Ashley Pond V
607a285426 Update README.md
Simple typo, s/Memroy/Memory/;
2014-11-19 19:46:30 -08:00
c9s
82143dfacb use am slient rule 2014-09-27 16:40:06 +08:00
Yo-An Lin
0f01283e78 Merge pull request #74 from PeterDaveHello/patch-1
make CI build faster
2014-08-14 07:06:39 +08:00
Peter Dave Hello
7a39929776 make CI build faster 2014-08-13 14:29:18 +08:00
c9s
bd22e7b35c free slug object 2014-08-12 18:03:26 +08:00
Yo-An Lin
21dcdd5807 Merge pull request #70 from tonytonyjan/patch-2
Add a new binding link.
2014-08-09 17:49:45 +08:00
Yo-An Lin
84a27bdf05 Merge pull request #69 from tonytonyjan/patch-1
Update README.md
2014-08-09 17:49:27 +08:00
Yo-An Lin
b80270afe9 Merge pull request #72 from kanru/fix-pcre-return-type
Fix pcre_exec's return type
2014-08-09 17:48:52 +08:00
Kan-Ru Chen (陳侃如)
3629452fe0 Fix pcre_exec's return type
According to PCRE_EXEC(3) pcre_exec returns int.

The original code uses char but char could be either signed or
unsigned. On armel and sparc this caused segment fault because
the (rc < 0) error checking was optimized out.
2014-08-04 01:07:37 +08:00
簡煒航 (Jian Weihang)
5d22dc54af Add a new binding link. 2014-07-30 05:28:33 +08:00