From 99fec3fed0ab43b6fc4b0718fe4a29d3775780de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Santamaria?= Date: Thu, 26 Oct 2023 11:11:00 +0200 Subject: [PATCH] Move obj_getsetter after obj_builtin for faster gc --- internal/obj/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/obj/object.h b/internal/obj/object.h index ac569a0..5ce2826 100644 --- a/internal/obj/object.h +++ b/internal/obj/object.h @@ -15,6 +15,7 @@ enum obj_type { obj_integer, obj_float, obj_builtin, + obj_getsetter, obj_string, obj_error, obj_list, @@ -24,7 +25,6 @@ enum obj_type { obj_object, obj_pipe, obj_bytes, - obj_getsetter, obj_native };