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

@justkeepsimple justkeepsimple commented Sep 18, 2020

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 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 Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.