|
|
|
|
|
by wavesquid
354 days ago
|
|
> splice() is the fastest and most efficient way to transfer data through pipes (on Linux), especially for large volumes. It bypasses memory allocations in userspace (as opposed to read(v)/write(v)), there is no extra buffer management logic, there is no memcpy() or iovec traversal. Proper use of io_uring should finally have it beat or at least matched. |
|