cerebris / jsonapi-resources

A resource-focused Rails library for developing JSON:API compliant servers.
http://jsonapi-resources.com
MIT License
2.32k stars 533 forks source link

Adopt the `frozen_string_literal` magic comment to optimize string storage #1407

Closed yawboakye closed 1 year ago

yawboakye commented 1 year ago

This issue is a (choose one):

Checklist before submitting:

Description

Adopt the frozen_string_literal magic comment that allows the Ruby VM to store literal strings efficiently.