The Wayback Machine - https://web.archive.org/web/20211001081112/https://github.com/ruby/ruby/commits/master
Skip to content
Permalink
master

Commits on Sep 30, 2021

  1. Make Array#min/max optimization respect refined methods

    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]
    jeremyevans committed Sep 30, 2021
  2. Enhanced RDoc for Enumerable (#4917)

    Treats:
    
        #each_with_index
        #reverse_each
        #each_entry
        #each_slice
        #each_cons
        #each_with_object
    BurdetteLamar committed Sep 30, 2021
  3. * 2021-10-01 [ci skip]

    matzbot committed Sep 30, 2021
  4. Use faster any_hash logic in rb_hash

    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 0fb782e) [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|
    jhawthorn authored and tenderlove committed Sep 30, 2021
  5. marshal.c: don't call the proc with partially initialized objects. (#…

    …4866)
    
    For cyclic objects, it requires to keep a st_table of the partially
    initialized objects.
    casperisfine committed Sep 30, 2021
  6. Needs AC_PROG_CC

    Although `AC_PROG_CC_C99` has been obsolete, `AC_PROG_CC` is not
    and the latter is necessary not to make C++ compiler mandatory.
    nobu committed Sep 30, 2021
  7. rb_fiber_raise(): add doxygen

    Must not be a bad idea to improve documents.
    shyouhei authored and ioquatix committed Sep 30, 2021

Commits on Sep 29, 2021

  1. * 2021-09-30 [ci skip]

    matzbot committed Sep 29, 2021
  2. Enhanced RDoc for Enumerable (#4910)

    Treats:
    
        #min
        #max
        #minmax
        #min_by
        #max_by
        #minmax_by
        #include?
    BurdetteLamar committed Sep 29, 2021
  3. [ruby/reline] Support ed_argument_digit by M+num

    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").
    
    ruby/reline@9183cc2
    aycabta authored and matzbot committed Sep 29, 2021

Commits on Sep 28, 2021

  1. Enhanced RDoc for Enumerable (#4908)

    Treated:
    
        #none?
        #one?
        #min
    BurdetteLamar committed Sep 28, 2021
  2. * 2021-09-29 [ci skip]

    matzbot committed Sep 28, 2021
  3. Enhanced RDoc for Enumerable (#4906)

    Treats:
    
        #partition
        #group_by
        #tally
        #first
        #sort
        #sort_by
        #all?
        #any?
    BurdetteLamar committed Sep 28, 2021
  4. [rubygems/rubygems] Only disallow FIXME/TODO for first word of gemspe…

    …c description
    
    7890c98 matched the start of each line, whereas this matches the start
    of the entire string.
    
    rubygems/rubygems@432de7b
    duckinator authored and hsbt committed Sep 28, 2021
  5. [rubygems/rubygems] Add missing rubygem_push prerequisite

    Just like all the other tasks using the `built_gem_path`, the `:build`
    task is a prerequisite for this task too.
    
    rubygems/rubygems@d193f9a
    deivid-rodriguez authored and hsbt committed Sep 28, 2021
  6. [ruby/un] Bump version to 0.2.0

    znz authored and hsbt committed Sep 28, 2021
  7. [ruby/date] Make %v strftime flag use uppercase month

    %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]
    
    ruby/date@56c489f
    jeremyevans authored and hsbt committed Sep 28, 2021
  8. [ruby/drb] gemspec: Remove "executables" configuration

    This gem exposes 0 executables.
    
    ruby/drb@ed4d036
    olleolleolle authored and hsbt committed Sep 28, 2021
  9. Move platform maintainers list

    unak committed Sep 28, 2021
Older