about summary refs log tree commit homepage
path: root/Links
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-02-09 09:12:10 +0000
committerEric Wong <e@80x24.org>2015-03-01 05:33:48 +0000
commitae5757cdb0be1d512c4b0c3c599e681f8bd3b5fe (patch)
treee07c8c5f71b9172d523669034da595fdfaa1cabd /Links
parent5fd3b3166a4ef9c0c5e4321c1b8b840840cbf24b (diff)
downloadunicorn-ae5757cdb0be1d512c4b0c3c599e681f8bd3b5fe.tar.gz
Literal String#freeze avoids allocations since Ruby 2.1 via the
opt_str_freeze instruction, so we can start relying on it in
some places as Ruby 2.1 adoption increases.  The 100-continue
handling is a good place to start since it is an uncommonly-used
code path which benefits from size reduction and the negative
performance impact is restricted to a handful of users.

HTTP_RESPONSE_START can safely live in http_request.rb as its
usage does not cross namespace boundaries

The goal is to eventually eliminate Unicorn::Const entirely.
Diffstat (limited to 'Links')
0 files changed, 0 insertions, 0 deletions