diff options
author | schneems <richard.schneeman@gmail.com> | 2015-07-27 01:52:45 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2015-07-30 12:31:05 -0500 |
commit | 61dae882546f643050c47e573161a467e156c704 (patch) | |
tree | 8dd7e181701b7aa5365b8d5e6bbf7040cf92b0e5 /guides/rails_guides/kindle.rb | |
parent | 4d2ccc119cac2dc2757d3d977059feba9db858d2 (diff) | |
download | rails-61dae882546f643050c47e573161a467e156c704.tar.gz rails-61dae882546f643050c47e573161a467e156c704.tar.bz2 rails-61dae882546f643050c47e573161a467e156c704.zip |
Remove (another) array allocation
We don't always need an array when generating a url with the formatter. We can be lazy about allocating the `missing_keys` array. This saves us:
35,606 bytes and 889 objects per request
Diffstat (limited to 'guides/rails_guides/kindle.rb')
0 files changed, 0 insertions, 0 deletions