Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!)



May also be good to benchmark against attrs which also seems to be similar to what you want to do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: