-
-
Notifications
You must be signed in to change notification settings - Fork 853
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perf(slice): Optimize iteration function parameters and add test cases (
#587) - Modify the iteration function parameters in the UniqueBy, GroupByMap, and Keyify functions to use index access for collection elements. - Optimize parameter naming in the GroupByMap function to improve code readability. - Add test cases for the GroupByMap function to cover different types of inputs. Co-authored-by: ShuQingZai <overbeck.jack@outlook.com>
- Loading branch information
1 parent
12a8b78
commit 0fa0632
Showing
2 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters