http_server: favor ivars over constants
commit3efcb739dd558bbc94075b4dee9d0dc3c528d16a
authorEric Wong <e@80x24.org>
Thu, 12 Feb 2015 19:09:54 +0000 (12 19:09 +0000)
committerEric Wong <e@80x24.org>
Thu, 12 Feb 2015 19:12:08 +0000 (12 19:12 +0000)
tree09782bc35f5c96462191a480778bc20fba0129e1
parenta94b26567487c85f3a099094a9796f480f8ce6c5
http_server: favor ivars over constants

In 1.9+ at least, instance variables use less space than constants
in class tables and bytecode, leading to ~700 byte reduction in
bytecode overhead on 64-bit and a reduction in constant table/entries
of the Unicorn::HttpServer class.
lib/unicorn/http_server.rb