ev_core: use Tempfile instead of Unicorn::Util::tmpio
commitdcd4fce91aa44c5026e9ca3afd8350f53fe1cb0f
authorEric Wong <normalperson@yhbt.net>
Mon, 2 Nov 2009 09:09:37 +0000 (2 01:09 -0800)
committerEric Wong <normalperson@yhbt.net>
Mon, 2 Nov 2009 18:02:29 +0000 (2 10:02 -0800)
tree06694d8c85de4b2a0555f0c55bfa7e4da32a3447
parent5c16fb386508de6eccda9d0b1cf3995e98717543
ev_core: use Tempfile instead of Unicorn::Util::tmpio

Since we're geared towards slower clients, we may be able to
make gains from using userspace IO buffering.  This allows us to
avoid metadef-ing a #size method for every File we allocate
and save memory.
lib/rainbows/ev_core.rb