General

Profile

bouk (Bouke van der Bijl)

Issues

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

Activity

09/13/2016

05:12 PM Ruby Feature #12744: Add str.reverse_each_char and str.reverse_chars
Shyouhei Urabe wrote:
> I doubt if we can make a reverse_each_char which is faster than reverse.each_char. It ls not always clear where is a boundary between a character and another, especially when scanning backwards. We might end up...
bouk (Bouke van der Bijl)

09/12/2016

06:58 PM Ruby Feature #12744: Add str.reverse_each_char and str.reverse_chars
Martin Dürst wrote:
> What about using
> ...
I don't really have a use case for reverse_chars, but I added it for symmetry with the other methods. I meant str.reverse_each_char, I typo'd it in the issue but it's correct in the patch. T...
bouk (Bouke van der Bijl)

09/09/2016

03:45 PM Ruby Feature #12744 (Feedback): Add str.reverse_each_char and str.reverse_chars
This patch adds `str.reverse_each` and `str.reverse_chars`. It's currently not really possible to iterate a Ruby string in reverse while guaranteeing that you're not accidentally introducing an O(N^2) bug, without encoding to a fixed-len... bouk (Bouke van der Bijl)

Also available in: Atom