General

Profile

amcaplan (Ariel Caplan)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

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...
amcaplan (Ariel Caplan)

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,...
amcaplan (Ariel Caplan)
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...
amcaplan (Ariel Caplan)

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 => "...
amcaplan (Ariel Caplan)

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 ... amcaplan (Ariel Caplan)
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... amcaplan (Ariel Caplan)
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... amcaplan (Ariel Caplan)

Also available in: Atom