[
https://issues.apache.org/jira/browse/SPARK-49491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuming Wang reassigned SPARK-49491:
-----------------------------------
Assignee: Yifeng Hua
> Replace AnyRefMap with HashMap
> ------------------------------
>
> Key: SPARK-49491
> URL: https://issues.apache.org/jira/browse/SPARK-49491
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Yuming Wang
> Assignee: Yifeng Hua
> Priority: Major
> Labels: pull-request-available
>
> scala 2.13.8:
> {noformat}
> OpenJDK 64-Bit Server VM 1.8.0_382-b05 on Mac OS X 14.5
> Apple M2 Max
> Benchmark Map: Best Time(ms) Avg Time(ms)
> Stdev(ms) Rate(M/s) Per Row(ns) Relative
> ------------------------------------------------------------------------------------------------------------------------
> HashMap 1121 1126
> 3 0.0 280264.2 1.0X
> AnyRefMap 1590 1609
> 29 0.0 397386.4 0.7X
> {noformat}
> scala 2.12.18:
> {noformat}
> OpenJDK 64-Bit Server VM 1.8.0_382-b05 on Mac OS X 14.5
> Apple M2 Max
> Benchmark Map: Best Time(ms) Avg Time(ms)
> Stdev(ms) Rate(M/s) Per Row(ns) Relative
> ------------------------------------------------------------------------------------------------------------------------
> HashMap 1679 1689
> 11 0.0 419759.2 1.0X
> AnyRefMap 1585 1592
> 8 0.0 396357.1 1.1X
> {noformat}
> More details:
> https://github.com/scala/bug/issues/13029#issuecomment-2325489902
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]