fix: reorder map_node to improve alignment

master
Sean McBride 3 years ago
parent b803befa0a
commit 443f6c2c43

@ -16,12 +16,12 @@
#define MAP_HASH jenkins_hash #define MAP_HASH jenkins_hash
struct map_node { struct map_node {
uint32_t hash; struct map_node *next;
uint8_t *key; uint8_t *key;
uint32_t key_len;
uint8_t *value; uint8_t *value;
uint32_t key_len;
uint32_t value_len; uint32_t value_len;
struct map_node *next; uint32_t hash;
}; };
struct map { struct map {

Loading…
Cancel
Save