General

Profile

marcandre (Marc-Andre Lafortune)

Issues

open closed Total
Assigned issues 11 124 135
Reported issues 23 174 197

Projects

Project Roles Registered on
Ruby Developer 09/10/2009
Backport186 Developer 09/10/2009
Backport187 Developer 09/10/2009
Backport191 Developer 09/10/2009
Backport192 Developer 10/05/2011
Backport193 Developer 10/05/2011
Backport200 Developer 02/17/2013
Backport21 Developer 12/21/2013
Backport22 Developer 12/19/2014
CommonRuby Developer 12/21/2012
Ruby 1.8 Developer 09/10/2009
Ruby master Developer 09/10/2009

Activity

07/01/2020

11:42 PM Ruby master Feature #17004: Provide a way for methods to omit their return value
Are there examples (for example from known gems) where this would actually be useful? marcandre (Marc-Andre Lafortune)

06/30/2020

04:29 PM Ruby master Feature #17000: 2.7.2 turns off deprecation warnings by deafult
I understand (and also had to feel) the pain points. I can't imagine what this would have been with duplication warni... marcandre (Marc-Andre Lafortune)

06/27/2020

04:37 PM Ruby master Bug #16996: Hash should avoid doing unnecessary rehash
Dan0042 (Daniel DeLorme) wrote in #note-2:
> Shouldn't the rehash be tied to a change in the number of buckets rathe...
marcandre (Marc-Andre Lafortune)
08:20 AM Ruby master Bug #16996 (Open): Hash should avoid doing unnecessary rehash
Pop quiz: Which is the fastest way to get a copy of a Hash `h`?
If, like me, you thought `h.dup` (of course, right...
marcandre (Marc-Andre Lafortune)
05:44 AM Ruby master Feature #16993: Sets: from hash keys using Hash#key_set
sawa (Tsuyoshi Sawada) wrote in #note-2:
> Would
>
> ```ruby
> Set.new(h.each_key)
> ```
>
> not work?
It...
marcandre (Marc-Andre Lafortune)

06/26/2020

08:43 PM Ruby master Feature #16995 (Open): Sets: <=> should be specialized
This is quite minor, but `Set#<=>` should be refined.
Reminder: `Set` defines `<`, `>`, etc. as inclusion, but doe...
marcandre (Marc-Andre Lafortune)
08:32 PM Ruby master Feature #16994 (Open): Sets: shorthand for frozen sets of symbols / strings
I would like a shorthand syntax for *frozen Sets of symbols or of strings*.
I am thinking of:
```ruby
%ws{hell...
marcandre (Marc-Andre Lafortune)
08:31 PM Ruby master Feature #16993 (Open): Sets: from hash keys using Hash#key_set
To create a set from hash keys currently implies a temporary array for all keys, rehashing all those keys and rebuild... marcandre (Marc-Andre Lafortune)
08:30 PM Ruby master Feature #16992 (Open): Sets: officially ordered
Officially, set elements have uncertain order. This predades when Hash started being ordered (Ruby 1.9.0, Xmas 2007).... marcandre (Marc-Andre Lafortune)
08:29 PM Ruby master Feature #16991 (Open): Sets: add Set#join
I'd like to add `#join` to `Set`:
```ruby
# Now:
Set[1, 2, 3].join('x') # => NoMethodError
# After
Set[1, 2, 3...
marcandre (Marc-Andre Lafortune)

Also available in: Atom