Josh Nichols

Hash Date Message
aeab4058784c86df47a455ffdb08714b337d0209 2022-05-13 [rubygems/rubygems] Improve performance of Bundler::SpecSet#for by using hash lookup of handled deps
0cc91871a81aeb3152fcb72b5a50bcee2f7d03b0 2023-01-18 [rubygems/rubygems] Update bundle-exec man page for with_unbundled_env
0300ea5a6c8a7a49feed73318fc8a991aa89fcfc 2023-08-13 [ruby/net-http] Improve performance of HTTPHeader#content_type
8d04260acd8b6fba98867acc1a7e786495813fa0 2023-08-11 [ruby/net-http] turn on frozen strings for net/http/header
2fbd8dca18a102cb3ffc5e7e6235c09fd0d04ba3 2023-08-11 [ruby/net-http] turn on frozen strings for net/http/generic_request
4165ec91d87ff1fcb41e312d896bea8a678c9bab 2023-08-11 [ruby/net-http] update net/http/response to be frozen string literal
4d21134f3f1645ae2042d836e750ad267ee1551f 2023-08-12 [ruby/net-http] freeze rest of lib
70da92cdf7ac75e071353c4551419ad02c284497 2023-08-14 [ruby/net-http] Fix on 2.7
ea321a654d4b4fd6d56a1cdd6e117c62075898ee 2023-08-14 [ruby/net-http] use +'' everywhere
ae68a8df586e9f3b3211e9c174b7001e57ee6aee 2023-08-15 [ruby/net-http] Update lib/net/http/response.rb
af67ced3b0945e8ea67434f8e66ef1e602656438 2023-08-15 [ruby/net-http] Update lib/net/http.rb
921c2bba4e4f0bb89d9ff354c05a176174586064 2023-08-16 [rubygems/rubygems] ENV.to_h returns a new hash, so we can `select!` it to avoid allocating another hash.
79b187a45ecc0f99af97631a1771092874344092 2023-08-16 [rubygems/rubygems] config is a new Hash, and config.values is a new Array. that means we can use bang methods to avoid allocating new copies
2a61e1dccc85fc4c8d6d41ef246b96d0dde0096c 2023-08-16 [rubygems/rubygems] Use Array#union to join these, instead of with | multiple times. This saves allocating 2 arrays
b97e45d01a70ba0db6ad693332b041774c65bc3e 2023-08-16 [rubygems/rubygems] Use ! methods on the array, since it is brand new. The individual keys are also new, so we can use ! methods on each individual one as well.
7cb6cbee953b8cf020e4e337bdbadd426460c71f 2023-08-16 [rubygems/rubygems] String#start_with? is faster than regex with beginning boundaries
e921efa476dc24246dcb40452fa1e9c02e75675d 2023-08-16 [rubygems/rubygems] name is often a symbol, so only to_s once to avoid allocating it multiple times
598048e3ddfc0dec301a4574af8d945cddee5e76 2023-08-16 [rubygems/rubygems] Use .to_s once in the beginning to save allocations if it's a symbol.
239e35254bc26e747d40fd99e348d486d9ae9f87 2023-08-16 [rubygems/rubygems] Use value.match? only on Strings, which avoids allocating a matchdata, which is not used
29aab66e6b7e71e139644817109c20a26fa05f3e 2023-08-16 [rubygems/rubygems] call key.to_s once instead of multiple times to save when it's a symbol
b5a0630cd039afe1aaf523bfe0dd66e282b0c587 2023-08-16 [rubygems/rubygems] Use ! methods once we have a new copy of the string. Use .prepend to avoid allocating a new string.
e5efa01c7dfaaff0f7f45c3c87e65a84ed43bd34 2023-08-19 [rubygems/rubygems] handle removing `BUNDLE_`, since using start_with? would still include that
7c4431e61cc00107af59a9f1c0a835a1405dda9f 2023-08-19 [rubygems/rubygems] use a one-liner
35442005132e60a728b59f0811da10fba95a851e 2023-08-19 [rubygems/rubygems] fix lint
0955ca342ed01b61161e1a46015a58b54d2e7205 2023-08-22 [ruby/erb] Enable frozen_string_literal in all files (https://github.com/ruby/erb/pull/49)
6a876a61d7495ff64805cdda2756c5fc38846ef8 2023-08-29 [rubygems/rubygems] (Further) Improve Bundler::Settings#[] performance and memory usage
e747e2c36b76262740da6070434a6768723397b2 2023-08-29 [rubygems/rubygems] Update bundler/lib/bundler/settings.rb
6f4f360fc46269eaba753cafe557519677a45a11 2023-03-28 [rubygems/rubygems] Add auto_install support to require "bundler/setup"