Skip to content

Conversation

@daducci
Copy link
Owner

@daducci daducci commented Aug 13, 2025

Added two options to control the actual sorting algorithm when calling argsort. Now mergesort is used both in load_dictionary and set_threads functions, but in my experiments. However, I noticed that changing the underlying algorithm might improve performance in some cases (without affecting results). This is not always the case, it really depends on the actual streamline configuration. Hence, I introduced this possibility to allow tuning this aspect in case of bad performance.

The two options are called sortDictionaryWith and sortThreadsWith, and can be set via the Evaluation.set_config() method. The possible values are: mergesort, 'stable' (which are equivalent), and quicksort.

@daducci daducci self-assigned this Aug 13, 2025
@daducci daducci merged commit fdaa451 into release/v2.4.0 Aug 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants