diff options
author | Akira Matsuda <ronnie@dio.jp> | 2022-05-05 18:01:08 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-05-05 19:09:49 +0900 |
commit | 0b625352196d782e476c8c383e61baa47ab8d3c4 (patch) | |
tree | 7ac2e63dc5bb0be558da73726d226686c22270ae /doc/format_specifications.rdoc | |
parent | 4f25971f058fa89bcea61f6296f71c30122b2f22 (diff) | |
download | ruby-0b625352196d782e476c8c383e61baa47ab8d3c4.tar.gz |
[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 'doc/format_specifications.rdoc')
0 files changed, 0 insertions, 0 deletions