diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-23 21:20:03 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-23 21:20:03 -0700 |
commit | 5facf207004a805d0b0836a6605bb02ab5ac77da (patch) | |
tree | fc85ce61c9aa545381a61ba9f003ff91bc9d3e02 /lib/unicorn.rb | |
parent | a9fa99940cd6d6f8572f83d6489d402c09b0cf93 (diff) | |
download | unicorn-5facf207004a805d0b0836a6605bb02ab5ac77da.tar.gz |
Avoid creating garbage every time we lookup the status code along with the message. Also, we can use global const arrays for a little extra performance because we only write one-at-a time Looking at MRI 1.8, Array#join with an empty string argument is slightly better because it skips an append for every iteration.
Diffstat (limited to 'lib/unicorn.rb')
0 files changed, 0 insertions, 0 deletions