mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-compiler: remove unused string threshold constants
Removed STR_INLINE_THRESHOLD and STR_SMALL_THRESHOLD macros from node.h as they are no longer referenced anywhere in the codebase. These appear to be remnants from a previous string storage optimization strategy. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -335,10 +335,6 @@ struct mrb_ast_super_node {
|
||||
struct mrb_ast_node *args; /* Super arguments (can be NULL) */
|
||||
};
|
||||
|
||||
/* String storage strategy thresholds */
|
||||
#define STR_INLINE_THRESHOLD 48 /* Inline strings <= 48 bytes */
|
||||
#define STR_SMALL_THRESHOLD 128 /* Small strings <= 128 bytes */
|
||||
|
||||
#define VAR_NODE_TYPE(n) ((enum node_type)(((struct mrb_ast_var_header*)(n))->node_type))
|
||||
|
||||
/* Type-safe casting macros */
|
||||
|
||||
Reference in New Issue
Block a user