Commit graph

39 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
973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
c9s
d4850d3564 Make edges as an array
Fixes: #89
2015-11-17 18:32:50 +08:00
c9s
f795785dce Implement faster edge branching 2015-11-17 16:08:01 +08:00
c9s
3376d1b771 Judy array is not used. 2015-11-10 19:58:28 +08:00
c9s
72f10015d5 Fix copyright email 2014-06-27 13:24:40 +08:00
c9s
5137d4d8e4 simplify functions to macro 2014-06-04 23:13:08 +08:00
c9s
f95cce7407 fix header file include 2014-06-03 21:47:52 +08:00
c9s
9441f974de test compile fail 2014-06-02 09:48:00 +08:00
c9s
f3bf32b922 refactor path insert function 2014-06-02 08:04:57 +08:00
c9s
cf734a480c edge branch with routes and other resets 2014-05-27 14:16:42 +08:00
c9s
6cc57d545f const char * 2014-05-27 01:08:31 +08:00
c9s
54397987bd Add const 2014-05-27 01:07:33 +08:00
c9s
7aaed3e5d7 merge str_array.h 2014-05-26 21:39:36 +08:00
c9s
403b1d9ba2 Add opcode to edge 2014-05-23 16:18:57 +08:00
c9s
59e6997959 there is already a pointer guard in zmalloc 2014-05-23 16:18:56 +08:00
c9s
c841de166c free old pattern 2014-05-23 16:18:56 +08:00
c9s
6762025fe6 free edge struct 2014-05-21 18:17:51 +08:00
Omer Katz
3ea9354e0b Implemented zstrndup. 2014-05-21 11:39:49 +03:00
Omer Katz
e34759c1aa Using zstrndup instead of strndup) 2014-05-21 11:18:12 +03:00
Omer Katz
18a92867fc Removed wrong call to zfree that caused a segfault. 2014-05-21 11:14:12 +03:00
c9s
de5a308002 fix header includes 2014-05-21 14:59:07 +08:00
Omer Katz
9c191682da Added zmalloc from redis in order to allow different allocators. 2014-05-20 20:50:15 +03:00
c9s
e9797295b5 Fix endpoint when branching edges 2014-05-21 01:15:54 +08:00
c9s
5183e9a052 merge r3_define.h into r3.h 2014-05-20 23:33:51 +08:00
c9s
41dc7373f3 comment jemalloc include lines 2014-05-20 01:28:51 +08:00
c9s
bada37fd75 Fix warning 2014-05-18 20:16:53 +08:00
c9s
baf23fafb0 fix pattern matching for /user/{id}-{user} 2014-05-18 20:09:42 +08:00
c9s
f039cc3c8f Fix child insertion 2014-05-18 20:09:42 +08:00
c9s
7d6113d17d truncate edge pattern in r3_edge_branch 2014-05-18 20:09:42 +08:00
c9s
d4c2c6b47e Add failing test to issue #10 2014-05-18 15:00:11 +08:00
c9s
e0eca85cbc remove route_split_pattern function 2014-05-18 12:24:07 +08:00
c9s
7687dd3aef clear edge->route when create 2014-05-18 12:00:03 +08:00
c9s
0c6afd03b7 use HAVE_STR*DUP config to check function definitions 2014-05-17 07:26:47 +08:00
c9s
04e0d6724b Fix check with autotool 2014-05-17 07:14:09 +08:00
Cindy Wang (CindyLinz)
8f6fd19806 self provided strndup & strdup 2014-05-17 06:50:05 +08:00
c9s
8f3ac387f0 remove Judy 2014-05-16 22:05:23 +08:00
c9s
2381f54dc4 allocate ov space when compiling the tree 2014-05-16 20:58:30 +08:00
c9s
168b12097d edge.c 2014-05-16 20:38:14 +08:00