General

Profile

dylants (Dylan Thacker-Smith)

  • Registered on: 03/12/2018
  • Last connection: 10/07/2019

Issues

Activity

09/27/2019

10:49 PM Ruby master Bug #16121: Stop making a redundant hash copy in Hash#dup
ko1 (Koichi Sasada) wrote:
> I found that
>
> > ` rb_define_method(rb_cArray, "initialize_copy", rb_ary_replac...
dylants (Dylan Thacker-Smith)
10:35 PM Ruby master Bug #16187 (Open): Hash#replace no longer rehashes keys for small (array table) hashes
Here is a script that shows the problem
```ruby
mutable_key = [1]
h = { mutable_key => 'a' }
mutable_key[0] = 2...
dylants (Dylan Thacker-Smith)
04:24 PM Ruby master Feature #16119 (Closed): Optimize Array#flatten and flatten! for already flattened arrays
Applied in changeset commit:git|a1fda16b238f24cf55814ecc18f716cbfff8dd91.
----------
Optimize Array#flatten and flat...
dylants (Dylan Thacker-Smith)
03:42 AM Ruby master Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
It looks like I made a mistake in my benchmarking of non-flattened arrays, since flatten! from the first iteration wo... dylants (Dylan Thacker-Smith)
04:24 PM Ruby master Revision a1fda16b (git): Optimize Array#flatten and flatten! for already flattened arrays (#2495)
* Optimize Array#flatten and flatten! for already flattened arrays
* Add benchmark for Array#flatten and Array#flatte...
dylants (Dylan Thacker-Smith)

09/19/2019

06:25 PM Ruby master Feature #11297 (Closed): Allow private method of self to be called
Applied in changeset commit:git|7fbd2f7cc247ee66e877ab3c88f0274834c6b6c7.
----------
Allow calling a private method ...
dylants (Dylan Thacker-Smith)
06:25 PM Ruby master Feature #16123 (Closed): Allow calling a private method with `self.`
Applied in changeset commit:git|7fbd2f7cc247ee66e877ab3c88f0274834c6b6c7.
----------
Allow calling a private method ...
dylants (Dylan Thacker-Smith)
05:20 PM Ruby master Revision 7fbd2f7c (git): Allow calling a private method with `self.`
This makes it consistent with calling private attribute assignment
methods, which currently is allowed (e.g. `self.va...
dylants (Dylan Thacker-Smith)

08/24/2019

12:30 AM Ruby master Feature #16123: Allow calling a private method with `self.`
Here is a script to help demonstrate the inconsistency, where `self.bar = 123` is allowed by `self.bar` is not.
``...
dylants (Dylan Thacker-Smith)

08/23/2019

09:03 PM Ruby master Feature #16123 (Closed): Allow calling a private method with `self.`
## Problem
There is an inconsistency between calling a private attribute writer being allowed with `self.value =` ...
dylants (Dylan Thacker-Smith)

Also available in: Atom