pydantic / speedate

Fast and simple datetime, date, time and duration parsing for rust.
https://docs.rs/speedate/latest/speedate/
MIT License
199 stars 17 forks source link

Remove iter, manually count positions #1

Closed samuelcolvin closed 2 years ago

samuelcolvin commented 2 years ago

Tried a custom iterator, but in the end it's even faster if we remove the iterator and count byte positions manually.

By f657cd3 there's a good custom iterator which is already significantly faster.