General

Profile

AMomchilov (Alexander Momchilov)

  • Login: AMomchilov
  • Registered on: 06/15/2021
  • Last sign in: 08/17/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 2 6

Like

Activity

12/12/2024

04:51 PM Ruby master Feature #20818: Allow passing a block to Hash#store (to update current value)
This is related to my `Hash#exchange_value` proposal, so I'll link that here. https://bugs.ruby-lang.org/issues/20300... AMomchilov (Alexander Momchilov)

08/26/2024

06:08 PM Ruby master Bug #20700 (Feedback): `warn_cr_in_shebang()` doesn't fire if there's no `\n`
The `warn_cr_in_shebang()` function looks for `\r\n` together, but the `\r` should emit a warning, regardless if ther... AMomchilov (Alexander Momchilov)

07/27/2024

11:03 PM Ruby master Bug #20079: alexandria testsuite began to segfault recently
vo.x (Vit Ondruch) wrote in #note-13:
> This does not help testing with Ruby 3.3.2
Hmmm that's a bit surprising...
AMomchilov (Alexander Momchilov)

05/11/2024

04:21 PM Ruby master Feature #20300: Hash: set value and get pre-existing value in one call
mame (Yusuke Endoh) wrote in #note-24:
> It was originally intended as a method to improve the efficiency of `Set#...
AMomchilov (Alexander Momchilov)

03/15/2024

01:49 AM Ruby master Feature #20300: Hash: set value and get pre-existing value in one call
nobu (Nobuyoshi Nakada) wrote in #note-17:
> I want `ENV.exchange_value` rather than `Hash#exchange_value`.
Is th...
AMomchilov (Alexander Momchilov)
01:34 AM Ruby master Bug #20301: `Set#add?` does two hash look-ups
shyouhei (Shyouhei Urabe) wrote in #note-8:
> Why not:
Because I didn't think of that :)
I would be okay with ...
AMomchilov (Alexander Momchilov)

02/27/2024

09:30 PM Ruby master Feature #20300: Hash: set value and get pre-existing value in one call
@matheusrich Thanks for putting together that list!
In general, I like the idea of having this method support an opt...
AMomchilov (Alexander Momchilov)
04:46 PM Ruby master Feature #20300: Hash: set value and get pre-existing value in one call
@matheusrich I like that name in general, but it's really similar to the existing [`Hash#store`](https://ruby-doc.org... AMomchilov (Alexander Momchilov)

02/26/2024

05:37 PM Ruby master Bug #20301: `Set#add?` does two hash look-ups
I don't mind it @Dan0042, but that's a secondary issue IMO. The block call defeats the benefit of this optimization. ... AMomchilov (Alexander Momchilov)
02:42 AM Ruby master Bug #20301 (Open): `Set#add?` does two hash look-ups
A common usage of `Set`s is to keep track of seen objects, and do something different whenever an object is seen for ... AMomchilov (Alexander Momchilov)

Also available in: Atom