-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Optimization: Avoid recalculating static information with each codec call #650
Comments
/bounty $100 |
💎 $100 bounty created by ZIO 👉 Add a bounty • Share on socials
|
/attempt #650
|
💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
🎉🎈 @987Nabil has been awarded $100! 🎈🎊 |
Currently, we have in a lot of codecs the same or similar calls. Like getting a chunk of fields to iterate over.
The usual way of using schemas is to have static once that never change during runtime. Therefor recalculating a collection of all fields or transient fields and so on, should be done once and not with every call of a codec operation.
For recursive / tree like structures this might need to be lazy.
The text was updated successfully, but these errors were encountered: