Project

General

Profile

Actions

Feature #19642

open

Remove vectored read/write from `io.c`.

Added by ioquatix (Samuel Williams) 12 months ago. Updated about 1 month ago.

Status:
Assigned
Target version:
-
[ruby-core:113489]

Description

https://github.com/socketry/async/issues/228#issuecomment-1546789910 is a comment from the kernel developer who tells us that writev is always worse than write system call.

A large amount of complexity in io.c comes from optional support from writev.

So, I'd like to remove support for writev.

I may try to measure the performance before/after. However it may not show much difference, except that the implementation in io.c can be much simpler.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like1Like0Like0Like0Like0Like0