-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
make IOStream
thread-safe
#32421
make IOStream
thread-safe
#32421
Conversation
155b98b
to
1028584
Compare
We decided to make this thread-safe by default, then if it turns out to be a problem consider adding an option like |
Note one reason this is important is that when julia's stdout is redirected to a file, |
1028584
to
e9ec1ef
Compare
e9ec1ef
to
fa3ea21
Compare
fa3ea21
to
8bf966c
Compare
Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
I believe this causes quite the slowdown in WAV.jl |
Is it possible to read/write in larger units than individual bytes? |
Right; while this was a ~5x slowdown; WAV.jl is 40x slower than other wav readers. |
Unfortunately this has a hefty ~5x slowdown for small I/O operations.