Project

General

Profile

Actions

Feature #17472

open

HashWithIndifferentAccess like Hash extension

Added by naruse (Yui NARUSE) 4 months ago. Updated 15 days ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
[ruby-core:101707]

Description

Rails has ActiveSupport::HashWithIndifferentAccess, 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

Actions

Also available in: Atom PDF