-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
ioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.
Description
Noting down ideas for the I/O refactor that I discussed with @JeffBezanson (do add anything I forgot).
- Instead of having the basic I/O operate on single bytes, have a new interface that can read/write arrays of bytes (probably also
nb_available) - All writes are buffered, with the buffer flushed when we enter the event loop next (or explicitly once we reach the system network buffer limit)
- This new BufferedIO type would be the one to be extended for things like endianness, text-encodings, etc. rather than the underlying stream.
Metadata
Metadata
Assignees
Labels
ioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.