cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
<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