diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-02-27 19:06:10 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-02-27 19:13:24 -0800 |
commit | a31af29a22cb22072828391d8f421ccf6c59d9b5 (patch) | |
tree | 51033b6bc13a3f73b985bd61e3ab7d608e359b2a /bin/unicorn_rails | |
parent | a5f4d11cdb9465b1ffa2892b3d84ee53b8962930 (diff) | |
download | unicorn-a31af29a22cb22072828391d8f421ccf6c59d9b5.tar.gz |
It's a waste of memory bandwidth to do memcpy() when we know Unicorn::HttpParser (via rb_str_resize()) will allocate new memory for the string for us. An empty String is "free", as we've already paid the Object cost regardless.
Diffstat (limited to 'bin/unicorn_rails')
0 files changed, 0 insertions, 0 deletions