Remove debugging code · rs2/pandas@2ab4971 (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

rs2 / pandas Public

forked from pandas-dev/pandas

Additional navigation options

Commit 2ab4971

Browse files

jeffknuppjeffknupp

committed

Remove debugging code

1 parent 2930eaa commit 2ab4971

File tree

1 file changed

1

-

6

lines changed

1 file changed

1

-

6

lines changed

‎pandas/_libs/src/parser/tokenizer.c‎

Lines changed: 1 addition & 6 deletions

Original file line number Diff line number Diff line change
@@ -1258,12 +1258,7 @@ int parser_trim_buffers(parser_t *self) {
1258 1258 }
1259 1259
1260 1260 /* trim stream */
1261 -if (new_cap < INT32_MAX) {
1262 -new_cap = _next_pow2(self->stream_len) + 1;
1263 - } else {
1264 -new_cap *= 2;
1265 - }
1266 -
1261 +new_cap = _next_pow2(self->stream_len) + 1;
1267 1262 TRACE(
1268 1263 ("parser_trim_buffers: new_cap = %zu, stream_cap = %zu, lines_cap = "
1269 1264 "%zu\n",

0 commit comments

Comments

(0)