diff options
author | schneems <richard.schneeman@gmail.com> | 2015-07-25 16:58:22 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2015-07-30 12:31:04 -0500 |
commit | 1993e2ccbd7c5651278ea30bdc9d8034f5197945 (patch) | |
tree | ff127650c2bba2b88c8601b832bb50fd7ac3d55e /actionpack/MIT-LICENSE | |
parent | 3fb9e802436a5e3b5733ea9d5cb3964a32a3d8f9 (diff) | |
download | rails-1993e2ccbd7c5651278ea30bdc9d8034f5197945.tar.gz rails-1993e2ccbd7c5651278ea30bdc9d8034f5197945.tar.bz2 rails-1993e2ccbd7c5651278ea30bdc9d8034f5197945.zip |
Avoid hash duplication by skipping mutation
If we don't mutate the `recall` hash, then there's no reason to duplicate it. While this change doesn't get rid of that many objects, each hash object it gets rid of was massive.
Saves 888 string objects per request, 206,013 bytes (thats 0.2 mb which is kinda a lot).
Diffstat (limited to 'actionpack/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions