move frequently used fields to struct head.
This commit is contained in:
parent
ef9962c958
commit
94c71b5431
2 changed files with 7 additions and 3 deletions
|
@ -537,3 +537,6 @@
|
||||||
1400928308,9831622.81,4277888.23,45590.26,2421364.56
|
1400928308,9831622.81,4277888.23,45590.26,2421364.56
|
||||||
1400928319,10230059.66,4527332.79,49932.19,2345303.39
|
1400928319,10230059.66,4527332.79,49932.19,2345303.39
|
||||||
1400928329,11085172.21,4647514.08,62601.55,2735715.15
|
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
|
||||||
|
|
Can't render this file because it has a wrong number of fields in line 447.
|
|
@ -30,11 +30,9 @@ typedef struct _route route;
|
||||||
|
|
||||||
struct _node {
|
struct _node {
|
||||||
edge ** edges;
|
edge ** edges;
|
||||||
route ** routes;
|
|
||||||
|
|
||||||
// almost less than 255
|
// almost less than 255
|
||||||
unsigned char edge_len;
|
unsigned char edge_len;
|
||||||
unsigned char edge_cap;
|
|
||||||
unsigned char compare_type;
|
unsigned char compare_type;
|
||||||
unsigned char endpoint;
|
unsigned char endpoint;
|
||||||
unsigned char ov_cnt;
|
unsigned char ov_cnt;
|
||||||
|
@ -48,9 +46,12 @@ struct _node {
|
||||||
pcre * pcre_pattern;
|
pcre * pcre_pattern;
|
||||||
pcre_extra * pcre_extra;
|
pcre_extra * pcre_extra;
|
||||||
|
|
||||||
|
route ** routes;
|
||||||
|
|
||||||
char * combined_pattern;
|
char * combined_pattern;
|
||||||
|
|
||||||
// almost less than 255
|
// almost less than 255
|
||||||
|
unsigned char edge_cap;
|
||||||
unsigned char route_len;
|
unsigned char route_len;
|
||||||
unsigned char route_cap;
|
unsigned char route_cap;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue