RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v27]
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Apr 2 15:01:24 UTC 2025
On Wed, 2 Apr 2025 12:00:31 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> The same discrepancy is present in the list vs. map examples
>
> There are two fundamental variants. One with `CACHED_SIZE` (for list and int function) and one with `CACHED_KEYS` (for map and function).
Yes - but they cache different things -- the first caches results for values 0-9 -- the second cached results for 1, 2, 4, 8, 16, 32.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2025022198
More information about the core-libs-dev
mailing list