Revision 2887b4b9ba506288f7968e4f7d30985359a8c888 authored by brharrington on 07 August 2020, 23:52:44 UTC, committed by GitHub on 07 August 2020, 23:52:44 UTC
Updates the `SmallHashMap.asJavaMap` implementation to
override `entrySet()`. The new implementation avoids
allocations for each item in the map.

**Throughput**

| Benchmark            |        Before |         After | % Delta |
|----------------------|---------------|---------------|---------|
| customEntrySet       |   8,400,934.3 |  13,480,190.3 |    60.5 |

**Allocations**

| Benchmark            |        Before |         After | % Delta |
|----------------------|---------------|---------------|---------|
| customEntrySet       |         296.0 |          24.0 |   -91.9 |
1 parent e5482ab
History
File Mode Size
log4j2.xml -rw-r--r-- 2.9 KB
lwcapi-2.conf -rw-r--r-- 45 bytes
lwcapi.conf -rw-r--r-- 606 bytes
memory.conf -rw-r--r-- 1022 bytes

back to top