General

Profile

Marc-Andre Lafortune

Issues

Projects

Activity

11/25/2016

10:05 PM Ruby trunk Bug #12970: == Equality of recursive sets fails
Took me a while to understand what was going on.
The issue is that the Set would need to be rehashed. Indeed, when...
09:40 PM Ruby trunk Feature #12813: Calling chunk_while, slice_after, slice_before, slice_when with no block
It would help if you explained what is meant by "safe".
There is currently no valid usage of `chunk_while`, `slice...

11/04/2016

05:18 PM Ruby trunk Bug #12897 (Rejected): Hash failed to recognize the existed key and send not found when using Vec...
This is not a bug. `Hash#[]` uses `eql?` and not `==` to match keys.
0 == 0.0 # => true
0.eql? 0.0 # => f...

10/20/2016

05:00 PM Ruby trunk Bug #12856 (Rejected): Help Please
This is for bugs with the Ruby language.
You can ask for help on the ruby-talk mailing list (http://lists.ruby-lan...

10/08/2016

06:35 AM Ruby trunk Feature #12676: Significant performance increase, and code conciseness, for prime_division method...
I thought I was quite clear, but I will try to be clearer.
`n.prime_divison` returns a factorization of `n` such t...

10/06/2016

04:45 AM Ruby trunk Feature #2172 (Closed): Enumerable#chunk with no block
Closing, created #12813 instead.
04:43 AM Ruby trunk Feature #12813 (Assigned): Calling chunk_while, slice_after, slice_before, slice_when with no block
Currently, `chunk_while`, `slice_after`, `slice_before`, `slice_when` all require a block.
If one needs the index ...
04:35 AM Ruby trunk Revision 56360: * enum.c: [DOC] Improve doc [ci-skip]

10/05/2016

02:45 PM Ruby trunk Feature #12676: Significant performance increase, and code conciseness, for prime_division method...
lol, I confused it with &, even if that didn't make any sense, sorry.

10/04/2016

08:07 PM Ruby trunk Feature #12676: Significant performance increase, and code conciseness, for prime_division method...
Nobuyoshi Nakada wrote:
> Jabari Zakiya wrote:
> > ```ruby
> > return [] if self | 1 == 1
> > ```
>
> It seems...

Also available in: Atom