General

Profile

kyanagi (Kouhei Yanagita)

  • Login: kyanagi
  • Registered on: 11/15/2009
  • Last connection: 03/11/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 5 18 23

Activity

01/31/2022

02:23 AM Ruby master Feature #18515: Add Range#reverse_each implementation for performance
Dan0042 (Daniel DeLorme) wrote in #note-3:
> I agree with both of those statements, but Integer is the only class th...
kyanagi (Kouhei Yanagita)

01/28/2022

11:13 PM Ruby master Feature #18551: Make Range#reverse_each to raise an exception if endless
Eregon (Benoit Daloze) wrote in #note-1:
> OTOH Range operations that work differently for numerics tend to make Ran...
kyanagi (Kouhei Yanagita)
11:02 PM Ruby master Feature #18515: Add Range#reverse_each implementation for performance
In general, I think it would be better to improve `#reverse_each` by using `#pred` (predecessor; the inverse of `#suc... kyanagi (Kouhei Yanagita)

01/27/2022

05:58 AM Ruby master Feature #18551 (Open): Make Range#reverse_each to raise an exception if endless
https://github.com/ruby/ruby/pull/5498
Currently, `Range#reverse_each` for an endless range never returns.
```
...
kyanagi (Kouhei Yanagita)

01/26/2022

05:57 AM Ruby master Feature #18515 (Open): Add Range#reverse_each implementation for performance
PR is https://github.com/ruby/ruby/pull/5489
Current `Range#reverse_each` uses `Enumerable#reverse_each` which is ...
kyanagi (Kouhei Yanagita)

01/25/2022

07:33 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
Another name proposal:
When I write `array.min_with_value { foo }`, I mean "minimize foo with an element in array"...
kyanagi (Kouhei Yanagita)

12/06/2021

04:44 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
matz (Yukihiro Matsumoto) wrote in #note-9:
> Just for confirmation, is it OK that `min_with_value` returns only a s...
kyanagi (Kouhei Yanagita)

09/22/2021

12:51 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
Description about `#min_with_value(n)` added. It corresponds to `#min(n)`. kyanagi (Kouhei Yanagita)

09/21/2021

09:01 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
I added an example code using `#min_with_value`. kyanagi (Kouhei Yanagita)
08:52 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
`enum.group_by { ... }` holds all of the elements of enum,
so it consumes a lot of memory and is very slow if enum i...
kyanagi (Kouhei Yanagita)

Also available in: Atom