wip: further progress on segment removal; arena allocation

This commit is contained in:
daanx 2024-11-29 15:08:06 -08:00
parent 46afcbe06c
commit 68f5fb2f4b
18 changed files with 80 additions and 98 deletions

View file

@ -74,7 +74,7 @@ void _mi_page_map_register(mi_page_t* page) {
}
// set the offsets
for (int i = 0; i < block_count; i++) {
for (int i = 0; i < (int)block_count; i++) {
mi_assert_internal(i < 128);
_mi_page_map[idx + i] = (signed char)(-i-1);
}