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
src

back to top