Added some constant values for sizes

main
Øyvind Skaaden 2022-03-15 22:29:29 +01:00
parent a0c695ef66
commit fb6c35523e
1 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ node_t* node_init (
node_t* nd,
node_index_t type,
void* data,
uint64_t n_children,
uint64_t n_children,
...
);
@ -43,3 +43,8 @@ typedef struct s {
tlhash_t *locals;
} symbol_t;
#endif
#define GLOBAL_BUCKET_SIZE 32
#define LOCAL_BUCKET_SIZE 16
#define DEFAULT_STRING_LIST_SIZE 8