Last Modified
Wed Apr 06 21:47:28 +0000 2011
Requires
Trac URL
http://bogomips.org/unicorn.git/tree/lib/unicorn/const.rb

Description

Frequently used constants when constructing requests or responses. Many times the constant just refers to a string with the same contents. Using these constants gave about a 3% to 10% performance improvement over using the strings directly. Symbols did not really improve things much compared to constants.