This is the `"foo".freeze` [optimization I proposed for CRuby](https://bugs.ruby-lang.org/issues/8992), expanded to literal arrays and hashes. See https://github.com/ruby/ruby/pull/11406