Skip to content

Commit 0435b70

Browse files
authored
Merge pull request #41 from wuxb45/master
reorder elements in art_node to eliminate space inflation
2 parents d2b0ed5 + 745f4d6 commit 0435b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/art.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ typedef int(*art_callback)(void *data, const unsigned char *key, uint32_t key_le
3131
* of all the various node sizes
3232
*/
3333
typedef struct {
34+
uint32_t partial_len;
3435
uint8_t type;
3536
uint8_t num_children;
36-
uint32_t partial_len;
3737
unsigned char partial[MAX_PREFIX_LEN];
3838
} art_node;
3939

0 commit comments

Comments
 (0)