mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
8a29ab591e
Replace mrb_obj_class() with direct mrb_obj_ptr(va)->c access: - Skips unnecessary mrb_immediate_p() check (these types are never immediate) - Skips mrb_class_real() traversal for singleton classes - Objects with singleton methods now fall back to method dispatch (correct behavior since they might have overridden []/[]=) Co-authored-by: Claude <noreply@anthropic.com>