Skip to content

Commit ff6f443

Browse files
committed
Implementing reading in chunks in order to obtain a great reduction of i/o calls and therefore improving performance
1 parent f9340b9 commit ff6f443

File tree

4 files changed

+288
-115
lines changed

4 files changed

+288
-115
lines changed

.vscode/launch.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"--lib"
1313
]
1414
},
15-
"args": [],
15+
"args": [
16+
"--nocapture"
17+
],
1618
"cwd": "${workspaceFolder}"
1719
}
1820
]

resources/test-file-crlf

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AAAA AAAA
2-
BBBB BBBB
3-
CCCC CCCC
4-
DDDD DDDD
5-
EEEE EEEE
2+
B B BB BBB
3+
CCCC CCCCC
4+
DDDD DDDDD DD DDD DDD DD
5+
EEEE EEEEE EEEE EEEEE

resources/test-file-lf

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AAAA AAAA
2-
BBBB BBBB
3-
CCCC CCCC
4-
DDDD DDDD
5-
EEEE EEEE
2+
B B BB BBB
3+
CCCC CCCCC
4+
DDDD DDDDD DD DDD DDD DD
5+
EEEE EEEEE EEEE EEEEE

0 commit comments

Comments
 (0)