Skip to content
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

Add optimized read! and and write methods #39

Open
nalimilan opened this issue Jul 10, 2020 · 1 comment · May be fixed by #55
Open

Add optimized read! and and write methods #39

nalimilan opened this issue Jul 10, 2020 · 1 comment · May be fixed by #55

Comments

@nalimilan
Copy link
Member

#38 implements an optimized readbytes! method. The same approach could be used to make read! and write more efficient with arrays, probably by overloading Base.unsafe_read and Base.unsafe_write.

@vtjnash
Copy link

vtjnash commented Jun 29, 2023

Yes, normally IO should provide a unsafe_read and unsafe_write function, if they support optimized IO

@alyst alyst linked a pull request Jul 11, 2023 that will close this issue
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 a pull request may close this issue.

2 participants