Message234953
| Author |
neologix |
| Recipients |
ned.deily, neologix, pitrou, vstinner |
| Date |
2015年01月29日.08:12:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAH_1eM2EUUvag0UvtbXDymwQ86DhQgjVPgOvGq7FH3aW97DgHQ@mail.gmail.com> |
| In-reply-to |
<CAH_1eM32aYGASukRWx4C=+yrNo_wF2TV_+_TFzcjr=Gw_E2h5g@mail.gmail.com> |
| Content |
OK, it turns out the culprit was repeated calls to BytesIO.getvalue(),
which forced large allocations upon reception of every message.
The patch attached fixes this (without changing the socket buffer size). |
| Files |
| File name |
Uploaded |
|
eintr-1.diff
|
neologix,
2015年01月29日.08:12:26
|
|