diff options
| author | Josh Nichols <josh.nichols@gusto.com> | 2023-08-16 14:57:48 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-20 09:05:56 +0000 |
| commit | 921c2bba4e4f0bb89d9ff354c05a176174586064 (patch) | |
| tree | 74035b90e909be29decc82420c28ba4ddbe6b849 /include/ruby/thread.h | |
| parent | 7e5c3ec5b1fc0afae215ca00d7a1dd5d8f3799c0 (diff) | |
[rubygems/rubygems] ENV.to_h returns a new hash, so we can `select!` it to avoid allocating another hash.
`String#start_with?` is faster than regex that is bound to the start of
a string.
https://github.com/rubygems/rubygems/commit/9b2006ef09
Diffstat (limited to 'include/ruby/thread.h')
0 files changed, 0 insertions, 0 deletions
