diff options
author | schneems <richard.schneeman@gmail.com> | 2015-07-27 01:45:29 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2015-07-30 12:31:05 -0500 |
commit | 4d2ccc119cac2dc2757d3d977059feba9db858d2 (patch) | |
tree | 49226f6313663278885ccea2cded15f8ca7f98d4 /CONTRIBUTING.md | |
parent | 005541b83eb6392bd53ad2e2a8b157c75cf81df1 (diff) | |
download | rails-4d2ccc119cac2dc2757d3d977059feba9db858d2.tar.gz rails-4d2ccc119cac2dc2757d3d977059feba9db858d2.tar.bz2 rails-4d2ccc119cac2dc2757d3d977059feba9db858d2.zip |
Remove array allocation
THe only reason we were allocating an array is to get the "missing_keys" variable in scope of the error message generator. Guess what? Arrays kinda take up a lot of memory, so by replacing that with a nil, we save:
35,303 bytes and 886 objects per request
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions