Skip to content

Conversation

@toli-belo
Copy link

The old rw will error out on read() op so we don't need to recheck rw on each iteration

anatolii.belomestnov and others added 2 commits April 23, 2019 16:09
The old rw will error out on read() op so we don't need to recheck rw on each iteration
@toli-belo
Copy link
Author

Note: not final PR yet, adding pooling of read buffer.

@toli-belo
Copy link
Author

This last speed up was great, please review

Copy link
Collaborator

@ssmccoy ssmccoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the use of bufio? it's only useful for files. Network connections have buffers already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants