This commit is contained in:
Krzosa Karol
2023-03-28 21:43:28 +02:00
parent 5495f96b3b
commit 622a5bd487
9 changed files with 35 additions and 42 deletions

View File

@@ -301,9 +301,6 @@ intern_string(Intern_Table *t, String string) {
//-----------------------------------------------------------------------------
// Array List
// @todo(krzosa): If even one item got removed from block
// @! Make List api more convenient list.add
// the block should go on free list
//-----------------------------------------------------------------------------
const int LIST_DEFAULT_BLOCK_SIZE = 32;
const int LIST_DEFAULT_ALLOCATION_MUL = 2;