about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-02-27 19:06:10 -0800
committerEric Wong <normalperson@yhbt.net>2010-02-27 19:13:24 -0800
commita31af29a22cb22072828391d8f421ccf6c59d9b5 (patch)
tree51033b6bc13a3f73b985bd61e3ab7d608e359b2a /bin
parenta5f4d11cdb9465b1ffa2892b3d84ee53b8962930 (diff)
downloadunicorn-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')
0 files changed, 0 insertions, 0 deletions