adjust slot count for 12288 byte size class

pull/50/head
Daniel Micay 2018-08-23 17:57:09 -04:00
parent 127f110126
commit a874a61099
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ size_class_slots = [
16, 16, 16, 16,
8, 8, 8, 8,
8, 8, 8, 8,
6, 6, 4, 4
6, 5, 4, 4
]
print("size class", "worst case internal fragmentation", sep=", ")

View File

@ -158,7 +158,7 @@ static const uint16_t size_class_slots[] = {
/* 256 */ 16, 16, 16, 16,
/* 512 */ 8, 8, 8, 8,
/* 1024 */ 8, 8, 8, 8,
/* 2048 */ 6, 6, 4, 4
/* 2048 */ 6, 5, 4, 4
};
#define N_SIZE_CLASSES (sizeof(size_classes) / sizeof(size_classes[0]))