From ada989844090d88c4fdc0a568ff4df2c0c8397fb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 14 Nov 2009 17:53:11 -0800 Subject: const: no need to freeze HTTP_EXPECT We never set this as a hash key, so there's no performance gain from having a frozen string. --- lib/unicorn/const.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index e418cc1..bd613d5 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -30,8 +30,8 @@ module Unicorn # A frozen format for this is about 15% faster REMOTE_ADDR="REMOTE_ADDR".freeze - HTTP_EXPECT="HTTP_EXPECT".freeze RACK_INPUT="rack.input".freeze + HTTP_EXPECT="HTTP_EXPECT" end end -- cgit v1.2.3-24-ge0c7