-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement compile-time caching for Scala 3 #350
Comments
/bounty $250 |
💎 $250 bounty • ZIOSteps to solve:
Thank you for contributing to zio/izumi-reflect! Add a bounty • Share on socials
|
/attempt #350
|
@asr2003 : I'm glad you are willing to attempt solving this, a P/R which I would be happy to accept should include a benchmark proving that the cache actually works and is beneficial. You may have a look at the current implementation in So, the work on this issue should be done in 3 stages:
In my opinion, the benchmark is the most cumbersome part. |
@asr2003: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
The bounty is up for grabs! Everyone is welcome to |
We use caching to speed up LightTypeTag creation on Scala 2, we might want to port this technique to Scala 3 implementation also.
We can also Scala 2 improve Scala 2 caching, e.g. right now we cache individual AbstractReference's, but we don't cache basesDb or InheritanceDb (or we could cache the entire serialized LTT instead)
The text was updated successfully, but these errors were encountered: