Commit 7879353
committed
main/streams/streams: don't buffer large reads
If the read buffer is currently empty, don't buffer large reads
(larger than chunk_size), because buffering would only hurt
performance in such an edge case.1 parent d82a30e commit 7879353
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
710 | 714 | | |
711 | 715 | | |
712 | 716 | | |
| |||
0 commit comments