mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
4a7c64fbf8
Replace mrb_intern_lit calls with MRB_SYM and MRB_IVSYM macros for better performance and consistency. Convert mrb_funcall with string literals to mrb_funcall_id with MRB_SYM for the keyword_init feature and other method calls. Key optimizations: - keyword_init symbol access using MRB_SYM(keyword_init) - Instance variable access using MRB_IVSYM(__keyword_init__) - Method calls using mrb_funcall_id with MRB_SYM(join) This improves runtime performance by avoiding symbol table lookups for commonly used symbols and follows mruby's presym conventions. Co-authored-by: Atlassian Rovo Dev