amcaplan (Ariel Caplan)
- Login: amcaplan
- Email: ariel.caplan@mail.yu.edu
- Registered on: 12/27/2015
- Last sign in: 07/17/2022
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 1 | 2 | 3 |
Activity
05/24/2022
- 10:02 PM Ruby master Feature #14602: Version of dig that raises error if a key is not present
- We can think of this as either a variation of `fetch` or a variation of `dig`. Ultimately it's both, of course, just ...
12/24/2020
- 10:30 AM Ruby master Bug #17427: Hash getting multiple identical keys
- Thanks, Jeremy!
I'm aware that `hash` values can overlap, it was just a shortcut to find problematic situations. I...
12/22/2020
- 09:31 PM Ruby master Bug #17427 (Rejected): Hash getting multiple identical keys
- I have a situation where a hash (contained within a Set) seems to get duplicate keys. I've had some difficulty reprod...
12/01/2019
- 08:43 AM Ruby master Feature #15563: #dig that throws an exception if a key doesn't exist
- matz (Yukihiro Matsumoto) wrote:
> I am against `dig!` for this purpose. When we have two versions of a method (`foo...
03/14/2018
- 01:01 PM Ruby master Feature #14602: Version of dig that raises error if a key is not present
- duerst (Martin Dürst) wrote:
> Would a keyword parameter to dig work for you?
>
> E.g. `hash.dig!(:name, :middle,... - 12:58 PM Ruby master Feature #14602: Version of dig that raises error if a key is not present
- shevegen (Robert A. Heiler) wrote:
> I think this may be somewhat problematic since it does not appear
> to fit to...
03/13/2018
- 06:29 PM Ruby master Feature #14602 (Open): Version of dig that raises error if a key is not present
- Currently, if I have a hash like this:
~~~ ruby
{
:name => {
:first => "Ariel",
:last => "...
12/27/2015
- 04:02 PM Ruby master Bug #11901: Performance Issue with OpenStruct
- Now, to throw in my own opinion: probably the simplest fix would be to circumvent the `#respond_to?` check if we hit ...
- 03:48 PM Ruby master Bug #11901: Performance Issue with OpenStruct
- To be more specific (but not clog up the description), the problem can be traced to https://github.com/ruby/ruby/blob...
- 03:37 PM Ruby master Bug #11901 (Closed): Performance Issue with OpenStruct
- After recent changes to define OpenStruct getter/setter methods lazily, there is a heavy performance impact for the u...
Also available in: Atom