Commit graph

703 commits

Author SHA1 Message Date
c9s 985c8593dd Remove unneccessary comments from struct 2015-11-10 21:02:47 +08:00
c9s 7e08440d0c Merge branch 'gnu-likely' into 2.0 2015-11-10 20:43:16 +08:00
c9s 3041469007 Move variable positions 2015-11-10 20:42:41 +08:00
c9s 7e545159a0 Add GNU likely/unlikely support 2015-11-10 20:41:52 +08:00
c9s e401364869 Cache pointer of edge 2015-11-10 20:31:36 +08:00
c9s 03448d72cf Merge branch 'edge-array' into 2.0 2015-11-10 20:30:07 +08:00
c9s fd9388437e Make edges as an array
Fixes: #89
2015-11-10 20:29:07 +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
簡煒航 (Jian Weihang) 302763b783 Update README.md 2014-07-29 21:47:58 +08:00
Yo-An Lin 8c5b25949e Merge pull request #65 from czchen/feature/pcre
Use Requires for libpcre in r3.pc
2014-07-05 16:04:23 +08:00
Yo-An Lin 3963bddb1f Merge pull request #64 from czchen/feature/debug
Let --enable-debug define DEBUG instead of ENABLE_DEBUG in config.h
2014-07-05 16:03:46 +08:00