-
Notifications
You must be signed in to change notification settings - Fork 7
Performance concern regarding print function #2
Comments
false, print function collects all args and then prints them in a single syscall Voila/src/interpreter/functions.rs Line 61 in d259f22
|
Line buffering and block buffering are not the same thing. Rust's |
In C, |
ah lol, didn't know that. Tomorrow I'll patch it |
These are the measures I made:
Stdout lock wins |
The print function does not seem to implement block buffering. So if you print a lot of lines, you end up calling the
write
syscall for every line, which is quite costly.The text was updated successfully, but these errors were encountered: