Commit 56f3b6b
authored
Reading whole lines from stream (Webklex#576)
Replaced char-by-char retrieval from stream via fread() with fgets() to get full line from stream until EOF or newline. This speeds up data transfer by factor 10.1 parent 15d0142 commit 56f3b6b
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 138 | + | |
| 139 | + | |
143 | 140 | | |
144 | 141 | | |
145 | | - | |
146 | 142 | | |
147 | 143 | | |
148 | 144 | | |
| |||
0 commit comments