8000 Add ReadFrom for zero copy from os.File by jim3ma · Pull Request #1 · mdlayher/alg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add ReadFrom for zero copy from os.File #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: splice
Choose a base branch
from

Conversation

jim3ma
Copy link
@jim3ma jim3ma commented Apr 23, 2021
  1. Add Readfrom to process os.File with zero copy.
  2. Fix Wirte partial issue, return n instead len(b).
  3. Update test.

Signed-off-by: Jim Ma majinjing3@gmail.com

jim3ma added 5 commits April 23, 2021 11:40
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Jim Ma <majinjing3@gmail.com>
@jim3ma jim3ma changed the title Add Readfrom for zero copy from os.File Add ReadFrom for zero copy from os.File May 5, 2021
Signed-off-by: Jim Ma <majinjing3@gmail.com>
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.

1 participant
0