diff options
author | Eric Wong <e@80x24.org> | 2015-02-09 09:12:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-03-01 05:33:48 +0000 |
commit | ae5757cdb0be1d512c4b0c3c599e681f8bd3b5fe (patch) | |
tree | e07c8c5f71b9172d523669034da595fdfaa1cabd /Links | |
parent | 5fd3b3166a4ef9c0c5e4321c1b8b840840cbf24b (diff) | |
download | unicorn-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