[Python-Dev] Add sendfile() to core?

Martin v. Loewis martin@v.loewis.de
20 Mar 2002 22:14:49 +0100


Andrew Kuchling <akuchlin@mems-exchange.org> writes:
> sendfile() is used when writing really high-performance Web servers,
> in order to save an unnecessary memory-to-memory copy. Question:
> should I make up a patch to add a sendfile() wrapper to Python?

Certainly. posixmodule.c is traditionally the place for wrappers
around function supported one atleast some Unixish systems; it
contains already functions less useful than sendfile.
Regards,
Martin

AltStyle によって変換されたページ (->オリジナル) /