fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
5.88k stars 181 forks source link

Investigate memory, performance and bundle size impact when caching basic schema objects #572

Open fabian-hiller opened 3 months ago

fabian-hiller commented 3 months ago

This is related to the following conversation with @sebmck on X: https://twitter.com/sebmck/status/1787193342876418218

Here is a code example: https://gist.github.com/sebmck/26ade0d73de7daee729a0848d5d2c41f