Skip to content

Fix optimization in compare by reference name#503

Merged
qu1ck merged 1 commit intoopenscopeproject:masterfrom
kichMan:fix_compare_in_sort_ref
Mar 25, 2025
Merged

Fix optimization in compare by reference name#503
qu1ck merged 1 commit intoopenscopeproject:masterfrom
kichMan:fix_compare_in_sort_ref

Conversation

@kichMan
Copy link
Contributor

@kichMan kichMan commented Mar 23, 2025

In JavaScript, comparing arrays using the standard operator will not work. Since the sorting function later in the code only takes the ReferenceName into account, the comparison operator (which I assume is used for optimization) only compares based on the ReferenceName.
image

@qu1ck qu1ck merged commit 011bdd3 into openscopeproject:master Mar 25, 2025
2 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