Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切片相关功能增强 #44

Merged
merged 1 commit into from
Jan 4, 2024
Merged

切片相关功能增强 #44

merged 1 commit into from
Jan 4, 2024

Conversation

ccpwcn
Copy link
Owner

@ccpwcn ccpwcn commented Jan 4, 2024

  • SameElements 两个切片是否拥有相同的元素,不考虑顺序,元素相同即可
  • Intersection 两个切片的交集
  • Union 两个切片的合集,如果遇到重复元素,只保留1个
  • Diff 两个切片的差集,以第一个参数为基准

[feat] 新增功能:Intersection 两个切片的交集
[feat] 新增功能:Union 两个切片的合集,如果遇到重复元素,只保留1个
[feat] 新增功能:Diff 两个切片的差集,以第一个参数为基准
@ccpwcn ccpwcn merged commit 0cb538f into main Jan 4, 2024
1 check failed
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.

1 participant