Message76174
| Author |
kristjan.jonsson |
| Recipients |
kristjan.jonsson |
| Date |
2008年11月21日.10:52:52 |
| SpamBayes Score |
0.020267723 |
| Marked as misclassified |
No |
| Message-id |
<1227264774.0.0.300756536942.issue4336@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Just a thought here:
Maybe it would be better just to change socket._fileobject to always
use a minimum of 8k readbuffer for readline() just as read() already
does. The read() documentation states that recv(1) is very
inefficient, and so it is.
The intent, when calling makefile(bufsize=0) is probably to make sure
that buffering for write() is disabled.
Any thoughts? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月21日 10:52:54 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
| 2008年11月21日 10:52:53 | kristjan.jonsson | set | messageid: <1227264774.0.0.300756536942.issue4336@psf.upfronthosting.co.za> |
| 2008年11月21日 10:52:53 | kristjan.jonsson | link | issue4336 messages |
| 2008年11月21日 10:52:52 | kristjan.jonsson | create |
|