Hacker News new | ask | show | jobs
by FreakLegion 615 days ago
Pydantic's JSON parsing is faster than the built-in module, on par with orjson, but creating model instances and run-time type checking net out to be much slower. I linked msgspec's benchmarks in the previous post.