| Age | Commit message (Collapse) | Author |
|
memory usage
I previously identified and improved this method over in https://github.com/rubygems/rubygems/pull/6884
but while reviewing another memory_profiler profile, I realized another
gain we can eek out.
This method keeps comes up in part because `configs` is allocating a new
Hash every time. My last change took advantage of that by using `map!`
on it. `configs` is called quite often, including in this `[]` method,
so there's a benefit to memoizing it.
Back in `[]`, logically we are trying to find the first Hash in `configs`
that has a value for the given key. Currently, we end up `map` and
`compact` to just get that value.
Instead, we can use a loop over `configs`, and break when we find the
value for the key.
https://github.com/rubygems/rubygems/commit/b913cfc87b
|
|
https://github.com/ruby/yarp/commit/f049932c44
|
|
It now does the redownloading/installing just like bundle install --redownload
https://github.com/rubygems/rubygems/commit/3b058e5eca
|
|
integration
(https://github.com/ruby/irb/pull/693)
* `help` should display debugger's help during irb:rdbg session
* Update `show_cmds`'s output when in irb:rdbg session
https://github.com/ruby/irb/commit/4029c2e564
|
|
(https://github.com/ruby/reline/pull/587)
`ARGV.first` is the name of the EastAsianWidth file and is not needed for east_asian_width.rb
https://github.com/ruby/reline/commit/6649bda31c
|
|
(https://github.com/ruby/reline/pull/586)
* Set EastAsianWidth::UNICODE_VERSION
* Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth
* Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth
https://github.com/ruby/reline/commit/6d94f2a26a
|
|
(https://github.com/ruby/irb/pull/696)
https://github.com/ruby/irb/commit/59bcc07def
|
|
* Remove unused method and constant from IRB::Debug
* Update comments
https://github.com/ruby/irb/commit/98914a963c
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8317
|
|
(https://github.com/ruby/irb/pull/691)
They were removed in #685, but we should still keep them to avoid breaking
changes to tools like Chef.
https://github.com/chef/chef/blob/533ff089479763f29045e4e6ddf388b73fc99338/lib/chef/shell.rb#L138
https://github.com/ruby/irb/commit/b585e0c835
|
|
(https://github.com/ruby/irb/pull/685)
https://github.com/ruby/irb/commit/66e69fa0dc
|
|
https://github.com/rubygems/rubygems/commit/f240bfad2a
|
|
|
|
See previous similar YJIT commit.
Notes:
Merged: https://github.com/ruby/ruby/pull/8299
|
|
https://github.com/rubygems/rubygems/commit/c969a192bf
|
|
https://github.com/rubygems/rubygems/commit/d275cdccb1
|
|
https://github.com/rubygems/rubygems/commit/d66815633b
|
|
remote gemfiles
If a legacy multi remote Gemfile depends transitively on a default gem,
then in standalone mode we'd fail to fetch the proper version from the
source that includes it, since we were adding it to `specs` (instead of
`remote_specs`), which was already including the default version of the
gem, and thus preventing the remote version from "overwriting that" and
being added to the index. We should add it to the `remote_specs` index
directly instead.
https://github.com/rubygems/rubygems/commit/05f4f9dfc0
|
|
https://github.com/rubygems/rubygems/commit/f664d60114
|
|
* `constant_id` and `operator_id` are confusing.
* See https://github.com/ruby/yarp/issues/1296
https://github.com/ruby/yarp/commit/09d0a144df
|
|
https://github.com/ruby/yarp/commit/b327e39527
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8298
|
|
https://github.com/ruby/yarp/commit/7e70339fe1
|
|
https://github.com/ruby/yarp/commit/de8924e3ec
|
|
https://github.com/ruby/yarp/commit/1db2de98ac
|
|
https://github.com/ruby/yarp/commit/c8f31eb5b6
|
|
https://github.com/ruby/yarp/commit/ca8e8cfa0d
|
|
https://github.com/ruby/yarp/commit/9c359fd92e
|
|
https://github.com/ruby/yarp/commit/9fad513089
|
|
https://github.com/ruby/yarp/commit/3693091661
|
|
Ripper state can carry over from the previous node type making coparison less useful
https://github.com/ruby/yarp/commit/74509728d4
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8295
|
|
|
|
https://github.com/ruby/yarp/commit/7710cee248
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8281
|
|
On legacy Gemfiles with multiple remote sources, where all of them
support the compact index API, we were still falling back to full
indexes.
Fixing this also allows to simplifying the code.
https://github.com/rubygems/rubygems/commit/b1357c8e72
|
|
from Gem::BUNDLED_GEMS::SINCE
[Feature #19846]
|
|
|
|
environment
|
|
|
|
|
|
* BOM should not impact looking for the encoding string
* We should re-encode tokens when the encoding changes
* BOM should change the column of comments only
https://github.com/ruby/yarp/commit/119fc2d7b2
|
|
(https://github.com/ruby/irb/pull/692)
`RubyLex` has always been a private component of IRB, so we should
explicitly discourage usages of it.
Also, it should be placed under the `IRB` module like other components.
https://github.com/ruby/irb/commit/069b5625f7
|
|
Fixes [Bug #19238]
https://github.com/ruby/open-uri/commit/f636d01b85
|
|
When Ripper encounters a method parameter that is the first
parameter and is an identifier and it shadows a local scope, it
incorrectly marks it as END|LABEL (because it think it's a local).
We need to account for that in the lex compat in order to properly
compare.
https://github.com/ruby/yarp/commit/15f725a1b1
|
|
in Ripper EOL after whitespace is returned as a on_nl node with the whitespace as the content
https://github.com/ruby/yarp/commit/be16d1deed
|
|
https://github.com/ruby/yarp/commit/c0598f8805
|
|
[Bug #19843]
|
|
https://github.com/ruby/erb/commit/c594f2fb86
|
|
(https://github.com/ruby/erb/pull/49)
I was surprised to see erb show up when I was using memory_profiler on
my app. ERB::Compiler#compile has a blank string literal, and it
ended up allocating some 41532 blank strings for a relatively small surface
area.
https://github.com/ruby/erb/commit/b7e45c2bdc
|