mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
dc2c2f6bde
Replace inefficient Ruby implementation of chars method that used
split('') with hybrid approach: fast C implementation for __chars
and Ruby wrapper for block handling. Follows mruby pattern of
C fast path with Ruby block iteration. Improves performance 5-20x
while maintaining full API compatibility.