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

how can i read a file as fast as impossible #41472

Closed
justkeepsimple opened this issue Sep 18, 2020 · 1 comment
Closed

how can i read a file as fast as impossible #41472

justkeepsimple opened this issue Sep 18, 2020 · 1 comment

Comments

@justkeepsimple
Copy link

What version of Go are you using (go version)?

1.14.7

What did you do?

bytes := make([]byte, writesBytes)
file.ReadAt(bytes, acf.NextLba)

i used this method to read a file, but i want to read the file like this
ssize_t pread64(int fildes, void *buf, size_t nbyte, off64_t offset);

i don't care about the content of the file
i hope i can read a file as fast as impossible
so, how can i do

@ALTree
Copy link
Member

ALTree commented Sep 18, 2020

Hi,

the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.

Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!

Closing here, since this is not a bug.

@ALTree ALTree closed this as completed Sep 18, 2020
@golang golang locked and limited conversation to collaborators Sep 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants