General

Profile

janosch-x (Janosch Müller)

  • Registered on: 04/30/2017
  • Last connection: 04/28/2019

Issues

Activity

06/18/2019

08:42 AM Ruby master Bug #15929: Array#minmax is much slower than calling both #min and #max
jeremyevans0 (Jeremy Evans) wrote:
> We cannot use this approach. [...]
I see, thanks for the explanation!
janosch-x (Janosch Müller)
08:39 AM Ruby master Misc #15925: Speed up SortedSet#min, #max, #sum etc.?
jeremyevans0 (Jeremy Evans) wrote:
> Your recommended implementation greatly improves performance.
I fear this b...
janosch-x (Janosch Müller)

06/17/2019

09:03 AM Ruby master Feature #15897: `it` as a default block parameter
sawa (Tsuyoshi Sawada) wrote:
> I propose to use a new keyword `item`.
I think that is a great proposal.
`it` ...
janosch-x (Janosch Müller)

06/16/2019

08:11 PM Ruby master Bug #15929 (Closed): Array#minmax is much slower than calling both #min and #max
this is similar to [issue 15807 about Ranges](https://bugs.ruby-lang.org/issues/15807) and maybe also to [13917](http... janosch-x (Janosch Müller)
01:26 PM Ruby master Bug #15807: Range#minmax is slow and never returns for endless ranges
Thinking about this a bit more generally, I'm wondering whether `Enumerable#minmax` should actually use `rb_funcall` ... janosch-x (Janosch Müller)

06/15/2019

11:10 AM Ruby master Misc #15925 (Assigned): Speed up SortedSet#min, #max, #sum etc.?
this issue is somewhat similar to https://bugs.ruby-lang.org/issues/15807
current situation, using the example of ...
janosch-x (Janosch Müller)
10:38 AM Ruby master Feature #15897: `it` as a default block parameter
Kotlin has implemented `it` like this ([docs](https://kotlinlang.org/docs/reference/lambdas.html#it-implicit-name-of-... janosch-x (Janosch Müller)
09:50 AM Ruby master Bug #15807: Range#minmax is slow and never returns for endless ranges
jeremyevans0 (Jeremy Evans) wrote:
> I think this is a bug we should fix, even if it breaks code relying on this bug...
janosch-x (Janosch Müller)

04/28/2019

02:29 PM Ruby master Bug #15807: Range#minmax is slow and never returns for endless ranges
mame (Yusuke Endoh) wrote:
> `Range#max` is not consistent with `Enumerable#minmax`.
Thanks for pointing this out...
janosch-x (Janosch Müller)
12:14 PM Ruby master Bug #15807 (Open): Range#minmax is slow and never returns for endless ranges
current situation:
- `(1..).minmax` runs forever
- `(1..).max` raises "cannot get the maximum of endless range"
...
janosch-x (Janosch Müller)

Also available in: Atom