diff --git a/bench_str.csv b/bench_str.csv index 571c5c1..976b980 100644 --- a/bench_str.csv +++ b/bench_str.csv @@ -520,3 +520,9 @@ 1400922974,10151535.91,3794968.57,47662.55,2474383.18 1400922986,10218555.01,3887695.21,53092.46,2200366.58 1400922997,10051469.51,4460938.45,59074.70,2490310.13 +1400923283,11180779.62,4365911.08,71089.90,2629220.52 +1400923294,11193863.27,4516227.63,82241.25,2545079.35 +1400923304,11423045.65,4137604.47,47662.55,2655584.06 +1400923315,10840939.91,4663256.98,55924.05,2611667.47 +1400923325,11091416.01,4103660.70,59074.70,2817256.97 +1400923335,11435046.07,4356917.52,45100.04,2883103.51 diff --git a/include/r3.h b/include/r3.h index 15e769f..550754f 100644 --- a/include/r3.h +++ b/include/r3.h @@ -36,20 +36,19 @@ struct _node { unsigned char edge_len; unsigned char edge_cap; + unsigned char compare_type; + unsigned char endpoint; + // almost less than 255 unsigned char route_len; unsigned char route_cap; - unsigned char compare_type; - unsigned char endpoint; - /** compile-time variables here.... **/ /* the combined regexp pattern string from pattern_tokens */ pcre * pcre_pattern; pcre_extra * pcre_extra; - char * combined_pattern; /** @@ -61,7 +60,7 @@ struct _node { struct _edge { char * pattern; node * child; - unsigned char opcode; + unsigned char opcode; unsigned short pattern_len; bool has_slug:1; };