General

Profile

Eregon (Benoit Daloze)

  • Registered on: 07/30/2009
  • Last connection: 10/22/2019

Issues

Projects

Activity

10/22/2019

09:42 PM Ruby master Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
jeremyevans0 (Jeremy Evans) wrote:
> In CRuby, it's not significantly more complicated. The callee may need to ad...
Eregon (Benoit Daloze)
07:33 PM Ruby master Feature #16261: Enumerable#each_tuple
FYI there is Enumerable#each_entry:
> Calls block once for each element in self, passing that
> element as a para...
Eregon (Benoit Daloze)

10/18/2019

06:08 PM Ruby master Feature #16142: Implement code_range in Proc and Method
Just a note: "code range" is an implementation-level concept for Strings. For instance there is CR_7BIT which means a... Eregon (Benoit Daloze)

10/16/2019

04:21 PM Ruby master Revision 3fea2d91 (git): Use an even indent in NEWS for code
* Makes it easier to copy-paste and add code backticks. Eregon (Benoit Daloze)
10:33 AM Ruby master Feature #16253: Shorthand "forward everything" syntax
Things to consider:
* Is `*` or `...` an expression? What does `def m(...); a = ...; p a; end; m(1, a: 2) {}` print?...
Eregon (Benoit Daloze)

10/15/2019

08:27 PM Ruby master Bug #16251: Evaluation in binding differs from ruby execution
Local variables are "hoisted" to the beginning of the method/block in Ruby (and start with value `nil`).
With that i...
Eregon (Benoit Daloze)
08:01 PM Ruby master Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
This sounds great.
We have very a similar mechanism in TruffleRuby, inherited from Rubinius, which is called "prim...
Eregon (Benoit Daloze)
03:53 PM Ruby master Feature #16253: Shorthand "forward everything" syntax
`...` has been proposed a few times as well, I'm not sure if there is a ticket for it:
```ruby
def foo(...)
...
Eregon (Benoit Daloze)
03:49 PM Ruby master Misc #16157: What is the correct and *portable* way to do generic delegation?
jeremyevans0 (Jeremy Evans) wrote:
> It certainly could. I believe the idea of removing it after Ruby 2.6 is EOL is...
Eregon (Benoit Daloze)
07:23 AM Ruby master Misc #16157: What is the correct and *portable* way to do generic delegation?
At the end of my comment in https://bugs.ruby-lang.org/issues/16188#note-5 I discussed why I believe `ruby2_keywords`... Eregon (Benoit Daloze)

Also available in: Atom