3 ms·
One reason is that println! will lock stdout for you. I'm not sure what percentage that makes up. If you don't want that behavior, you can control this all you
by steveklabnik 7y ago
One reason is that println! will lock stdout for you. I'm not sure what percentage that makes up.
If you don't want that behavior, you can control this all yourself with write! and friends.
EDIT: deeper analysis on Reddit: https://www.reddit.com/r/programming/comments/ejxwlu/hello_world/fd3zr9p/ https://www.reddit.com/r/programming/comments/ejxwlu/hello_w...