2008/8/13 Brandon S. Allbery KF8NH <[EMAIL PROTECTED]>:
>
> I should clarify:  what sendfile() is supposed to optimize isn't writing
> large strings, or even the user<->kernel roundtrips; it's an optimization to
> the kernel network stack (network buffer management, to be specific).  Web
> servers use it to serve static content (e.g. icons, images, stylesheets)
> because it significantly reduces system load.
>

Ok, so it could still be useful in a restricted area (but then it
should be easy to write a FFI wrapper for it anyway).

-- 
Jedaï
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to