rrva
11/24/2021, 7:33 AMMap<String, T> + Map<String, T>
as well as Map<String, T>.distinct()
and this is showing up during profiling as a hotspot, is there some obvious optimization I can do that lets me keep calls to plus
and distinct
but makes it go faster? All involved classes are kotlin data classes so implement that hashCodeRoukanken
11/24/2021, 10:54 AMMap<String, T>.distinct()
?
And can specify your goal a bit more? For example, what other operations are you doing on those maps?Roukanken
11/24/2021, 10:55 AMrrva
11/24/2021, 10:16 PMList<T>.distinct()
rrva
11/24/2021, 10:16 PMrrva
11/24/2021, 10:17 PMjimn
11/26/2021, 1:43 PMCLOVIS
12/04/2021, 9:08 AM