Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Async: Redo reads to not use DispatchIO #4

Open
helje5 opened this issue Nov 12, 2017 · 0 comments
Open

Async: Redo reads to not use DispatchIO #4

helje5 opened this issue Nov 12, 2017 · 0 comments

Comments

@helje5
Copy link
Member

helje5 commented Nov 12, 2017

This goes along issue #2 but has a different motivation and less actual performance impact (unless we also add an option to let the user choose what kind of buffer to produce, e.g. Data instead of DispatchData).

By using a DispatchSource to wait for read events, we could probably avoid an own read buffer (and all the logic attached) and immediately suspend reading.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant