1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/json
Eugene Kenny 144df5b104 Reduce number of created objects in Hash#to_json
Followup to 9256ae8a38.

Since the result of `as_json` is typically encoded with `to_json`, this
patch should save the same number of allocations as the previous one.
2020-01-11 11:03:20 +00:00
..
decoding.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
encoding.rb Reduce number of created objects in Hash#to_json 2020-01-11 11:03:20 +00:00