Sequence optimizations: how my code got into kotlin | by Max Sidorov | Nov, 2023
I noticed that the implementation of the distinct function is algorithmically very similar to the filter function. However, the distinct function has a significant performance loss compared to regular collections (-15%), while the filter function outperforms collections by about 3%-5%. Measurement results — distinct Measurement…
Mobile App Development
0