Closed dthorpe closed 4 years ago
string compare in ruby is a lot more expensive than symbol compare. plus, API calls like sdk.something will already have made something into a symbol before execution reaches method_missing, so why not just use it?
sdk.something
something
method_missing
string compare in ruby is a lot more expensive than symbol compare. plus, API calls like
sdk.something
will already have madesomething
into a symbol before execution reachesmethod_missing
, so why not just use it?