add bool value to speed up primitives

This commit is contained in:
2025-08-29 12:58:02 +01:00
parent 0f0a3f5d31
commit c01dee80b0
5 changed files with 24 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ ArgonObject *new_object() {
object->dict = createHashmap_GC();
add_field(object, "__class__", ARGON_TYPE_TYPE);
add_field(object, "__base__", BASE_CLASS);
object->as_bool = true;
return object;
}