Browse Source

slightly tune GC

master
Martin Dørum 7 months ago
parent
commit
118b949f4a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/vm/vm.c

+ 1
- 1
lib/vm/vm.c View File

@@ -15,7 +15,7 @@ static l2_word alloc_val(struct l2_vm *vm) {
if (id + 16 >= vm->valuessize) {
if (id >= vm->valuessize) {
if (vm->valuessize == 0) {
vm->valuessize = 64;
vm->valuessize = 128;
}

while (id >= vm->valuessize) {

Loading…
Cancel
Save