prefer "[]" to "first"/"last" where possible
commit5ece8c1c33f10e6496dfe5ae1d0d368293278d2d
authorEric Wong <normalperson@yhbt.net>
Thu, 8 Jul 2010 05:33:49 +0000 (8 05:33 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 8 Jul 2010 05:36:18 +0000 (8 05:36 +0000)
tree2ba247c01f9f3a1de2fce758e85efabc931c6739
parent1cd698f8c7938b1f19e9ba091708cb4515187939
prefer "[]" to "first"/"last" where possible

"[]" is slightly faster under Ruby 1.9 (but slightly
slower under 1.8).
lib/unicorn.rb
lib/unicorn/http_request.rb