General

Profile

amcaplan (Ariel Caplan)

Issues

Activity

03/14/2018

01:01 PM Ruby trunk 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 trunk 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 trunk 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 trunk 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 trunk 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 trunk 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