Tweaked standard bucket sizes, see #160

Hyacinth: It's pronounced "Bouquet"!
This commit is contained in:
2024-12-17 22:25:33 +11:00
parent 3e17916a4a
commit 04c799954c
3 changed files with 35 additions and 25 deletions

View File

@@ -960,7 +960,7 @@ void Toy_bindVMToModule(Toy_VM* vm, unsigned char* module) {
vm->stringBucket = Toy_allocateBucket(TOY_BUCKET_IDEAL);
}
if (vm->scopeBucket == NULL) {
vm->scopeBucket = Toy_allocateBucket(TOY_BUCKET_SMALL);
vm->scopeBucket = Toy_allocateBucket(TOY_BUCKET_IDEAL);
}
if (vm->stack == NULL) {
vm->stack = Toy_allocateStack();