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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user