Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
get rid of a needless step in HashWithIndifferentAccess #1940
There was an extra operation in
After removing that operation Grape consumes less memory.
Before: 36080 bytes
There was an extra operation in `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder` it is unnecessary, people already use Rails 4, 5 or 6. Devs who are on Rails 3 less likely will upgrade to latest Grape. After removing that operation Grape consumes less memory. Before: 36080 bytes After: 32472 bytes