Skip to content

Commit acbfaa0

Browse files
committed
comment
1 parent 41c11df commit acbfaa0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/_csv.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,10 @@ Reader_iternext(PyObject *op)
10321032
pos = 0;
10331033

10341034
while (pos < linelen) {
1035+
/* For IN_FIELD and IN_QUOTED_FIELD states, optimize by finding
1036+
* chunks of characters that can be processed together up to the
1037+
* next special character (eg: delimiter, quote, escape).
1038+
*/
10351039
switch (self->state) {
10361040
case IN_FIELD:
10371041
chunk_end = linelen;

0 commit comments

Comments
 (0)