AMomchilov (Alexander Momchilov)
- Login: AMomchilov
- Registered on: 06/15/2021
- Last sign in: 05/29/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 4 | 1 | 5 |
Like
Activity
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#...
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... - 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 ...
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... - 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...
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. ...
- 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 ...
- 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 ...
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...
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...
Also available in: Atom