| Age | Commit message (Collapse) | Author |
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4915
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4915
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4915
|
|
The feature names loaded from the default load paths should also
be in the file system encoding.
Notes:
Merged: https://github.com/ruby/ruby/pull/4915
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4920
|
|
https://github.blog/changelog/2021-09-29-github-actions-jobs-running-on-macos-latest-are-now-running-on-macos-big-sur-11/
Notes:
Merged: https://github.com/ruby/ruby/pull/4920
|
|
As we do not use config.h.in, just define the helper macro
instead.
|
|
Pass in ec to vm_opt_newarray_{max,min}. Avoids having to
call GET_EC inside the functions, for better performance.
While here, add a test for Array#min/max being redefined to
test_optimization.rb.
Fixes [Bug #18180]
Notes:
Merged: https://github.com/ruby/ruby/pull/4911
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
Treats:
#each_with_index
#reverse_each
#each_entry
#each_slice
#each_cons
#each_with_object
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
From the documentation of rb_obj_hash:
> Certain core classes such as Integer use built-in hash calculations and
> do not call the #hash method when used as a hash key.
So if you override, say, Integer#hash it won't be used from rb_hash_aref
and similar. This avoids method lookups in many common cases.
This commit uses the same optimization in rb_hash, a method used
internally and in the C API to get the hash value of an object. Usually
this is used to build the hash of an object based on its elements.
Previously it would always do a method lookup for 'hash'.
This is primarily intended to speed up hashing of Arrays and Hashes,
which call rb_hash for each element.
compare-ruby: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-linux]
built-ruby: ruby 3.1.0dev (2021-09-29T02:13:24Z fast_hash d670bf88b2) [x86_64-linux]
# Iteration per second (i/s)
| |compare-ruby|built-ruby|
|:----------------|-----------:|---------:|
|hash_aref_array | 1.008| 1.769|
| | -| 1.76x|
Notes:
Merged: https://github.com/ruby/ruby/pull/4916
|
|
For cyclic objects, it requires to keep a st_table of the partially
initialized objects.
Notes:
Merged-By: byroot <jean.boussier@gmail.com>
|
|
Although `AC_PROG_CC_C99` has been obsolete, `AC_PROG_CC` is not
and the latter is necessary not to make C++ compiler mandatory.
Notes:
Merged: https://github.com/ruby/ruby/pull/4914
|
|
Must not be a bad idea to improve documents.
Notes:
Merged: https://github.com/ruby/ruby/pull/4912
|
|
|
|
Treats:
#min
#max
#minmax
#min_by
#max_by
#minmax_by
#include?
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
The vi mode can handle "argument number" before an operator or a motion,
such as, "3x" (equals "xxx"), and "3l" (equals "lll"). In the emacs
mode, GNU Readline can handle argument number with meta key, like
"Meta+3 x" (equals "xxx").
https://github.com/ruby/reline/commit/9183cc2e8b
|
|
Treated:
#none?
#one?
#min
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4907
|
|
|
|
Treats:
#partition
#group_by
#tally
#first
#sort
#sort_by
#all?
#any?
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
https://github.com/ruby/ostruct/commit/df1109c18f
|
|
https://github.com/ruby/ruby/commit/f360ebb30606a4143029996073d29d007069428d
|
|
https://github.com/ruby/ruby/commit/f9f7f3a75ec5af4a70e3332f8f5aa300c13432e2
|
|
Fixes #160
https://github.com/ruby/did_you_mean/commit/93df310873
|
|
description
7890c98 matched the start of each line, whereas this matches the start
of the entire string.
https://github.com/rubygems/rubygems/commit/432de7b819
|
|
Just like all the other tasks using the `built_gem_path`, the `:build`
task is a prerequisite for this task too.
https://github.com/rubygems/rubygems/commit/d193f9a7f9
|
|
https://github.com/ruby/set/commit/f467028cdb
|
|
https://github.com/ruby/un/commit/104bc10c57
|
|
%v is supposed to be the VMS date, and VMS date format uses an
uppercase month.
Ruby 1.8 used an uppercase month for %v, but the behavior was
changed without explanation in r31672.
Time#strftime still uses an uppercase month for %v, so this change
makes Date#strftime consistent with Time#strftime.
Fixes [Bug #13810]
https://github.com/ruby/date/commit/56c489fd7e
|
|
support only Ruby 2.7+
https://github.com/ruby/drb/commit/bec410d184
|
|
https://github.com/ruby/drb/commit/0da149e7a9
|
|
This gem exposes 0 executables.
https://github.com/ruby/drb/commit/ed4d0363e5
|
|
to another Ractor (https://github.com/ruby/ostruct/pull/29)
https://github.com/ruby/ostruct/commit/d85639f2f5
|
|
|
|
|
|
https://github.com/ruby/reline/commit/43b7c01a98
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4901
|
|
Revises introductory material.
Adds section "What's Here".
Adds previously missing documentation for method #deconstruct_keys.
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
https://github.com/ruby/timeout/commit/ec5a614334
|
|
|
|
Cirrus CI sets the environment variable `CIRRUS_COMMIT_MESSAGE`
from the pull request description.
Notes:
Merged: https://github.com/ruby/ruby/pull/4900
|
|
This reverts commit 09863a4cd8eb40b34b310083d8cdda899ab5bcc1.
Notes:
Merged: https://github.com/ruby/ruby/pull/4900
|
|
Cirrus CI sets this environment variable from the pull request
description. However it does not seem any locales other than C
are installed, the default external encoding is US-ASCII. That
means this environment variable will be an invalid byte sequence,
and some tests fail.
|
|
|
|
https://github.com/ruby/timeout/commit/ac7b010c41
|
|
Also make the format string compatible with literal strings which
are const arrays of "plain" chars.
Notes:
Merged: https://github.com/ruby/ruby/pull/4899
Merged-By: nobu <nobu@ruby-lang.org>
|
|
String#ljust returns a new string, so whenever we need to add
padding, we can replace "-/" in place with String#tr! and avoid creating
yet another copy of the string.
https://github.com/ruby/base64/commit/6401ef5824
|