2 ms·
That's really helpful to hear. A few thoughts: - I haven't benchmarked this against pydantic... I guess I should! - I would _hope_ that Koda Validate is at le
by keithasaurus 4y ago
That's really helpful to hear. A few thoughts:
- I haven't benchmarked this against pydantic... I guess I should!
- I would _hope_ that Koda Validate is at least competitive with Pydantic... because Koda Validate's main core improvement (IMO) is a consistent idea of what a validator is, validators in Koda Validate are actually much simpler than in Pydantic, meaning I would generally expect fewer instructions to be executed
- 3.11 (and 3.12) are both focused on performance. Both pydantic and Koda Validate might get some "free" performance boosts anyway (Thanks CPython devs!)
- timellis-smith 4y agoMay also be good to benchmark against attrs which also seems to be similar to what you want to do.