On Wed, 2 Apr 2025 12:00:31 GMT, Per Minborg <pminb...@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