aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2015-07-27 01:45:29 -0500
committerschneems <richard.schneeman@gmail.com>2015-07-30 12:31:05 -0500
commit4d2ccc119cac2dc2757d3d977059feba9db858d2 (patch)
tree49226f6313663278885ccea2cded15f8ca7f98d4 /activejob
parent005541b83eb6392bd53ad2e2a8b157c75cf81df1 (diff)
downloadrails-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 'activejob')
0 files changed, 0 insertions, 0 deletions