Rethinking splice()
Rethinking splice()
Posted Feb 18, 2023 17:31 UTC (Sat) by Cyberax (✭ supporter ✭, #52523)In reply to: Rethinking splice() by Sesse
Parent article: Rethinking splice()
> Why doesn't it make sense otherwise?
The whole reason for splice() is to magically avoid buffers and transfer the data from one location to another.
> I have no qualms doing
Except that if you actually do that, a pipe will be so much slower because of additional synchronization.