註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

Pydantic
@pydantic
The Pydantic Stack: Pydantic Validation, Pydantic AI, Pydantic Logfire, Pydantic Evals, and Pydantic AI Gateway
加入 August 2022
172 正在關注    20.3K 粉絲
Jiter perf vs. the de facto JSON library in Rust.
Significant `jiter` release, in particular this includes SIMD support for x86, which should give up to 7x performance improvement for parsing long strings. There are also significant improvements for tape reuse, arm64 string SIMD, float parsing and more. jiter is the most used 3rd party JSON library in Python as a dependency of @pydantic validation. it's also used in Pydantic Monty, and in Pydantic Logfire via datafusion-functions-json. Short story: apply strict constraints, provide clear benchmarks for the thing you want to improve, use @codspeedhq, let fable and astra do their thing.
顯示更多