General

Profile

shan (Shannon Skipper)

  • Login: shan
  • Registered on: 12/23/2012
  • Last connection: 06/27/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 5 8

Activity

06/24/2022

11:29 PM Ruby master Revision 2b4a1ad5 (git): Fix a variable name typo in the docs
shan (Shannon Skipper)

05/03/2022

08:08 PM Ruby master Feature #18762: Add an Array#undigits that compliments Integer#digits
@sawa If this feature is accepted and for whatever reason a Ruby version is used instead of C, yours is more performa... shan (Shannon Skipper)
07:52 PM Ruby master Feature #18762: Add an Array#undigits that compliments Integer#digits
sawa (Tsuyoshi Sawada) wrote in #note-5:
> @shan (Shannon Skipper)
>
> Sorry. I had the code wrong. A similar cod...
shan (Shannon Skipper)
03:50 PM Ruby master Feature #18762: Add an Array#undigits that compliments Integer#digits
sawa (Tsuyoshi Sawada) wrote in #note-3:
> Using a chain of two methods `each_with_index` and `sum` as well as `**` ...
shan (Shannon Skipper)

05/02/2022

11:36 PM Ruby master Bug #18760: Ractors vs "skynet" microbenchmark
@zverok here's a Ruby example with Fibers that I ported from `skynet.cr`.
``` ruby
require 'async'
require 'asyn...
shan (Shannon Skipper)
10:47 PM Ruby master Feature #18762 (Open): Add an Array#undigits that compliments Integer#digits
I've found Integer#digits convenient and useful but several times have needed to go from the place-value notation bac... shan (Shannon Skipper)

04/27/2022

03:20 PM Ruby master Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
Eregon (Benoit Daloze) wrote in #note-9:
> From #18276,
> I think the best solution by far is `Ractor.make_shareabl...
shan (Shannon Skipper)

04/23/2022

07:26 PM Ruby master Feature #18685: Enumerator.product: Cartesian product of enumerables
It might also be nice to require at least one `enum` argument, since `Enumerator.product #=> [nil]` seems a bit odd. ... shan (Shannon Skipper)

04/20/2022

07:36 PM Ruby master Feature #18683: Allow to create hashes with a specific capacity.
Another option would be `Hash.new { capacity }` like `to_enum { size }`. shan (Shannon Skipper)

02/01/2022

07:44 PM Ruby master Feature #18563 (Closed): Add "graphemes" and "each_grapheme" aliases
https://bugs.ruby-lang.org/issues/13780#note-10
> grapheme sounds like an element in the grapheme cluster. How abo...
shan (Shannon Skipper)

Also available in: Atom