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

@@ -72,6 +72,7 @@ struct ArgonObject {
ArgonType type;
ArgonType child_type;
struct hashmap_GC *dict;
bool as_bool;
union {
mpq_t *as_number;
struct string_struct as_str;