General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

07/26/2018

06:46 PM Ruby trunk Revision 64069 (trunk): lib/ostruct: Remove unnecessary `__send__`
Patch by yuuji.yaginuma [Fix GH-1890]
Since `remove_method` is public.
Ref: https://bugs.ruby-lang.org/issues/14133
06:46 PM Ruby trunk Revision 5219adf4 (ruby-git): lib/ostruct: Remove unnecessary `__send__`
Patch by yuuji.yaginuma [Fix GH-1890]
Since `remove_method` is public.
Ref: https://bugs.ruby-lang.org/issues/14133
...

07/21/2018

10:37 PM Ruby trunk Bug #14926: Different results between Enumerable#sum and #reduce when Float::INFINITY present
Yes, definitely a bug in the algorithm trying to minimize floating errors. Result must be `Float::INFINITY`.
sheve...

07/13/2018

04:59 AM Ruby trunk Bug #14908: Enumerator::Lazy creates unnecessary Array objects.
Indeed, as long as `Yielder#yield` is kept with arity -1 (as in this patch), indeed I don't think that would be an "i...

07/12/2018

09:39 PM Ruby trunk Feature #14473: Add Range#subrange?
Not directly related, but if your ranges are such that begin <= end, then I think you can use `range.max > idx.max` f...

07/10/2018

04:18 AM Ruby trunk Feature #5481: Gemifying Ruby standard library
Thank you for putting matrix and ostruct as gems :-)
I’m not sure where to commit changes to the libraries now: do...

07/05/2018

09:10 PM Ruby trunk Bug #14895: Inconsistent constant names when using const_set on a singleton class
This looks like a bug to me.
Here's a simplified example:
```
s = Object.new.singleton_class
a = s.const_set...

07/02/2018

07:41 PM Ruby trunk Feature #14887: Array#delete_if does not use #delete
You probably meant "... call #delete_at in the background".
I think there could be a performance issue for big arr...
03:49 PM Ruby trunk Feature #14888: Add trace point for eval (and related functions)
You can already use `TracePoint` to "catch" the calls to eval:
```
TracePoint.trace(:c_call) do |tp|
if tp.cal...

06/26/2018

02:26 PM Ruby trunk Bug #14870: Both TracePoint's :call and :c_call filters seem to skip a lot of builtin methods
Mmm, that's indeed a bug that should be fixed imo.
This indeed happens because of optimizations for basic operator...

Also available in: Atom