Project

General

Profile

Feature #17472

Updated by naruse (Yui NARUSE) 4 months ago

Rails has [ActiveSupport::HashWithIndifferentAccess](https://api.rubyonrails.org/classes/ActiveSupport/HashWithIndifferentAccess.html), which is widely used in Rails to handle Request, Session, ActionView's form construction, ActiveRecord's DB communication, and so on. It receives String or Symbol and normalize them to fetch the value. But it is implemented with Ruby. If we provide C implementation of that, Rails will gain the performance improvement. 

 summary of previous discussion: https://github.com/rails/rails/pull/40182#issuecomment-687607812

Back