plack/Plack — pull request #433 by kazeburo (2013-10-22 06:28:42+00:00)
Title: Optimize Plack::Response->finalize

- use HTTP::Headers->scan to build a headers arrray
- pass this array to \_finalize\_cookie
- HTTP::Headers->clone becomes unnecessary

This patch makes 2x faster for finalize response.
benchmark code is here. https://gist.github.com/kazeburo/7093522