Skip to content

Commit

Permalink
Move obj_getsetter after obj_builtin for faster gc
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoNex committed Oct 26, 2023
1 parent 0ab2d67 commit 99fec3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/obj/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ enum obj_type {
obj_integer,
obj_float,
obj_builtin,
obj_getsetter,
obj_string,
obj_error,
obj_list,
Expand All @@ -24,7 +25,6 @@ enum obj_type {
obj_object,
obj_pipe,
obj_bytes,
obj_getsetter,
obj_native
};

Expand Down

0 comments on commit 99fec3f

Please sign in to comment.