ev_core: avoid needless String#dup
commit9d60e1931021faa52bee60e34913c656317f2698
authorEric Wong <normalperson@yhbt.net>
Sun, 28 Feb 2010 03:04:40 +0000 (27 19:04 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 28 Feb 2010 03:04:40 +0000 (27 19:04 -0800)
tree157ef5c582eb38bc598fd0320f9dd7f2319f1b9a
parent5221350c4c1e9a431fc06f14d3d8a695f8085ce5
ev_core: avoid needless String#dup

Just create an empty string instead and let Unicorn::HttpParser
allocate it internally to whatever size is needed.
lib/rainbows/ev_core.rb