⬅︎ Back to Rust > Go > Python ...to parse millions of dates in CSV files
That's what one of the alternative solutions here https://www.peterbe.com/plog/fastest-python-datetime-parser does. The C based extension was still much faster.
I wonder what would happen if you manually parsed the year, month, and day and used simple arithmetic instead of using strptime and timedeltas.
Comment
That's what one of the alternative solutions here https://www.peterbe.com/plog/fastest-python-datetime-parser does. The C based extension was still much faster.
Parent comment
I wonder what would happen if you manually parsed the year, month, and day and used simple arithmetic instead of using strptime and timedeltas.