We integrated #java 's new Stable Values feature just now!
This will allow developers and library developers to benefit from the "secret" @Stable annotation that the internal JDK code has been using for years. This can bring significant performance improvements to your code!
https://openjdk.org/jeps/502
This will allow developers and library developers to benefit from the "secret" @Stable annotation that the internal JDK code has been using for years. This can bring significant performance improvements to your code!
https://openjdk.org/jeps/502
Comments
Also like that static StableValue.supplier(..) method. I was looking for an idempotent supplier the other day and I'm thinking this would fit the bill
https://www.reddit.com/r/learnjava/s/O6OfApa96Q