Files
mruby-mruby/mrbgems
google-labs-jules[bot] 71e8dbcd97 Refactor str_succ_bang for in-place modification
This commit refactors the str_succ_bang function in mrbgems/mruby-string-ext/src/string.c to perform string succession in-place.

The previous implementation used an intermediate temporary string, which incurred memory and performance overhead.
This change aims to reduce memory usage and improve performance by modifying the string buffer directly, using mrb_str_resize and memmove when prepending characters is necessary (e.g., '9' -> '10').

Formatting changes (newlines before 'else') have also been applied as per user request.
2025-06-23 09:23:54 +00:00
..
2025-06-08 17:00:07 +09:00
2025-06-08 17:04:05 +09:00
2025-06-09 17:14:02 +09:00
2025-06-09 17:13:20 +09:00
2025-06-11 18:31:52 +09:00
2025-06-08 17:02:55 +09:00
2025-06-16 12:45:18 +09:00
2025-06-14 01:02:52 +09:00
2024-09-24 00:14:24 +10:00