Optimize parser memory consumption. Remove 'prev' and 'block_size' fields form the linked list structure. Remove 'magic' field from structures used in parser.

This commit is contained in:
Andrey Shitov
2015-04-01 11:48:23 +03:00
parent ef2265ee41
commit e459ab7d64
11 changed files with 26 additions and 43 deletions
-3
View File
@@ -18,13 +18,10 @@
#include "linked-list.h"
#define TREE_MAGIC 0x43
typedef struct tree_header
{
struct tree_header *parent;
linked_list children;
uint8_t magic;
uint8_t children_num;
}
tree_header;