optimize lib.nas

This commit is contained in:
ValKmjolnir
2023-12-06 20:10:07 +08:00
parent f747d91efe
commit d56434ae28
51 changed files with 162 additions and 81 deletions

View File

@@ -197,7 +197,7 @@ void gc::extend(const vm_type type) {
memory.push_back(tmp);
unused[index].push_back(tmp);
}
// if incr[index] = 1, this will always be 1
incr[index] = incr[index]+incr[index]/2;
}