General

Profile

AMomchilov (Alexander Momchilov)

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

Issues

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

Like

Activity

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)
02:42 AM Ruby master Feature #20300 (Open): Hash: set value and get pre-existing value in one call
When using a Hash, sometimes you want to set a new value, **and** see what was already there. Today, you **have** to ... AMomchilov (Alexander Momchilov)

01/27/2024

05:34 PM Ruby master Feature #20080: Introduce #bounds method on Range
Could we implement this as `#deconstruct`, so Ranges can support destructuring?
```ruby
class Range
def decons...
AMomchilov (Alexander Momchilov)

01/03/2024

07:32 PM Ruby master Bug #20079: alexandria testsuite began to segfault recently
@luke-gru Can you please try this modified version of mame's patch?
```diff
diff --git a/hash.c b/hash.c
index 7...
AMomchilov (Alexander Momchilov)

12/19/2023

02:07 AM Ruby master Revision b3598f95 (git): [ruby/psych] Use `assert_same` in tests where applicable
https://github.com/ruby/psych/commit/0dc25a9d6a AMomchilov (Alexander Momchilov)

Also available in: Atom