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
File | Mode | Size |
---|---|---|
Bintray.scala | -rw-r--r-- | 1.3 KB |
BuildSettings.scala | -rw-r--r-- | 3.5 KB |
Dependencies.scala | -rw-r--r-- | 4.5 KB |
GitVersion.scala | -rw-r--r-- | 2.0 KB |
License.scala | -rw-r--r-- | 2.8 KB |
build.properties | -rw-r--r-- | 19 bytes |
plugins.sbt | -rw-r--r-- | 502 bytes |
sbt | -rwxr-xr-x | 545 bytes |
sbt-launch-1.2.8.jar | -rwxr-xr-x | 1.2 MB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...