Commit 140ec3d
feat: Add forceFlush method to FlateWriter for improved data handling
- Introduced forceFlush method to ensure all buffered data is output immediately.
- Updated flushOutput method to only flush when the buffer exceeds 256KB, optimizing system calls.
- Modified storeFast and close methods to utilize forceFlush for final data output.
Log: Enhance data flushing mechanisms in FlateWriter1 parent a53da92 commit 140ec3d
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
503 | 504 | | |
504 | 505 | | |
505 | 506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | | - | |
| 1173 | + | |
1174 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
1175 | 1185 | | |
1176 | 1186 | | |
1177 | 1187 | | |
| |||
1212 | 1222 | | |
1213 | 1223 | | |
1214 | 1224 | | |
1215 | | - | |
| 1225 | + | |
1216 | 1226 | | |
1217 | 1227 | | |
1218 | 1228 | | |
| |||
1247 | 1257 | | |
1248 | 1258 | | |
1249 | 1259 | | |
1250 | | - | |
| 1260 | + | |
1251 | 1261 | | |
1252 | 1262 | | |
1253 | 1263 | | |
0 commit comments