Closed casperisfine closed 2 months ago
Lazily defining instance variable can significantly increase the number of shapes on Ruby 3.2+ which isn't good for performance.
Extracted from: https://github.com/rails-api/active_model_serializers/pull/2461
cc @bf4
Lazily defining instance variable can significantly increase the number of shapes on Ruby 3.2+ which isn't good for performance.
Extracted from: https://github.com/rails-api/active_model_serializers/pull/2461
cc @bf4