General

Profile

andrey.samsonov@gmail.com (Andrey Samsonov)

  • Login: andrey.samsonov@gmail.com
  • Registered on: 08/09/2020
  • Last sign in: 08/09/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

08/10/2020

12:27 PM Ruby Feature #17109: Eliminate the performance impact of operands' order in array's | and &
> > The order is preserved from the original array.
My bad, I missed the comment. In this case, I think the optimisation is not worth a change in the spec.
andrey.samsonov@gmail.com (Andrey Samsonov)

08/09/2020

09:52 PM Ruby Feature #17109 (Rejected): Eliminate the performance impact of operands' order in array's | and &
When I do intersection (`a & b`) or union (`a | b`), usually the array in one position is more likely longer than the one in the other position. I always try to remember in what order I should write `a` and` b` for the best performance. ... andrey.samsonov@gmail.com (Andrey Samsonov)

Also available in: Atom