Le Wed, 23 Oct 2013 13:53:40 +0200, Victor Stinner <victor.stinner at gmail.com> a écrit : > "For the record, pipe I/O seems a little faster than socket I/O under > Linux" > > In and old (2006) email on LKML (Linux kernel), I read: > "as far as I know pipe() is now much faster than socketpair(), > because pipe() uses the zero-copy mechanism." > https://lkml.org/lkml/2006/9/24/121 > > On Linux, splice() can also be used with pipes for zero-copy > operations. I don't know if splice() works with socketpair(). splice() only works with pipes. socketpair() returns sockets, which are not pipes :-) > Well, I > don't think that Python uses splice() now, but it may be interesting > to use it. Where do you want to use it? Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4