<
korvo>
Hey, supposing I have a bunch of os.read() and os.write() calls, how can/should I buffer them?
<
korvo>
FWIW I've got the worst-case scenario; I'm looking at a Brainfuck interpreter, so it's always writing/reading one character at a time.
<
korvo>
Oh, also this is RPython, not user-level code.
slowpard has quit [Ping timeout: 246 seconds]
<
cfbolz>
korvo: write should read 4k at once, or something. for write you can use line-wise prints?
<
korvo>
cfbolz: Yeah, was thinking of adding a flag for line-buffered output.
slowpard has joined #pypy
Dejan has joined #pypy
slowpard has quit []
Dejan has quit [Quit: Leaving]
jcea has joined #pypy