diff --git a/bench_str.csv b/bench_str.csv index baac128..dc17e7b 100644 --- a/bench_str.csv +++ b/bench_str.csv @@ -537,3 +537,6 @@ 1400928308,9831622.81,4277888.23,45590.26,2421364.56 1400928319,10230059.66,4527332.79,49932.19,2345303.39 1400928329,11085172.21,4647514.08,62601.55,2735715.15 +1400929424,11030888.11,4442984.66,55924.05,2892178.39 +1400929434,11544517.30,4792322.97,77672.30,2718374.75 +1400929444,11729287.31,4167112.20,47662.55,2880342.59 diff --git a/include/r3.h b/include/r3.h index 3d25a70..1d8508d 100644 --- a/include/r3.h +++ b/include/r3.h @@ -30,11 +30,9 @@ typedef struct _route route; struct _node { edge ** edges; - route ** routes; // almost less than 255 - unsigned char edge_len; - unsigned char edge_cap; + unsigned char edge_len; unsigned char compare_type; unsigned char endpoint; unsigned char ov_cnt; @@ -48,9 +46,12 @@ struct _node { pcre * pcre_pattern; pcre_extra * pcre_extra; + route ** routes; + char * combined_pattern; // almost less than 255 + unsigned char edge_cap; unsigned char route_len; unsigned char route_cap;