summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorAkira Matsuda <[email protected]>2022-05-05 18:01:08 +0900
committergit <[email protected]>2022-05-05 19:09:49 +0900
commit0b625352196d782e476c8c383e61baa47ab8d3c4 (patch)
tree7ac2e63dc5bb0be558da73726d226686c22270ae /io.c
parent4f25971f058fa89bcea61f6296f71c30122b2f22 (diff)
[ruby/logger] Prefer String#[0, 1] over [0..0]
[0..0] internally creates an extra Array object, and so is slower and much more memory consuming https://github.com/ruby/logger/commit/20616ad34a
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions