summaryrefslogtreecommitdiff
path: root/transcode.c
diff options
context:
space:
mode:
authorYaroslav Markin <yaroslav@markin.net>2026-06-07 19:12:50 +0300
committerJean Boussier <jean.boussier@gmail.com>2026-06-11 20:59:01 +0200
commit35b7652058a15509864a42a99cabec0dc157a6e4 (patch)
tree9759a39fa26b23d1c7052c5c309d6fae747ed341 /transcode.c
parent92545a293963de65cde41545b737316ae6c1a579 (diff)
Speed up Array#join with a memcpy fast pathHEADmaster
When every element is a String sharing one ASCII-compatible fast-path encoding (UTF-8/US-ASCII/ASCII-8BIT) and the separator is compatible, build the result with a single memcpy pass instead of appending element by element through rb_str_buf_append. Other cases fall back to the existing path.
Diffstat (limited to 'transcode.c')
0 files changed, 0 insertions, 0 deletions