-
Notifications
You must be signed in to change notification settings - Fork 36
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
Use pread #100
Labels
performance
Something is slower than it could be
Comments
One reason why |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, StenciledFile and other locations use locks to avoid race conditions between seek and read calls. I'm not sure why I never though ot
pread
before but it might improve performance for multi-threaded access and even if not, it should simplify the code by removing the lock.The text was updated successfully, but these errors were encountered: