Commit e241796
committed
Fix memory growth bug in read_csv
The edge case where we hit powers of 2
every time during allocation can be painful.
Closes pandas-devgh-24805.
xref pandas-devgh-23527.1 parent f4458c1 commit e241796
File tree
2 files changed
+19
-1
lines changed- pandas
- _libs/src/parser
- tests/io/parser
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1916 | 1916 | | |
1917 | 1917 | | |
1918 | 1918 | | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
1919 | 1937 | | |
1920 | 1938 | | |
1921 | 1939 | | |
| |||
0 commit comments