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

perf!: use HashSet instead of Vec #51

Merged
merged 9 commits into from
Nov 27, 2023
Merged

perf!: use HashSet instead of Vec #51

merged 9 commits into from
Nov 27, 2023

Conversation

DDtKey
Copy link
Owner

@DDtKey DDtKey commented Nov 27, 2023

Description:

  • use hashset to avoid O(n)
  • avoid cloning by Arc

Checklist:

  • Tests for the changes have been added (for bug fixes / features);
  • Docs have been added / updated (for bug fixes / features).

Base automatically changed from align-proc-macros to main November 27, 2023 20:38
# Conflicts:
#	actix-web-grants/src/authorities/attache.rs
#	actix-web-grants/src/authorities/extractors.rs
#	actix-web-grants/src/authorities/mod.rs
#	actix-web-grants/src/guards.rs
#	actix-web-grants/src/middleware.rs
#	actix-web-grants/tests/common.rs
#	poem-grants/src/authorities/attache.rs
#	poem-grants/src/authorities/extractors.rs
#	poem-grants/src/authorities/mod.rs
#	poem-grants/src/middleware.rs
#	poem-grants/tests/common.rs
#	proc-macro/src/lib.rs
@DDtKey DDtKey merged commit 3c47a8b into main Nov 27, 2023
10 checks passed
@DDtKey DDtKey deleted the use-hash-set-everywher branch November 27, 2023 22:26
@DDtKey DDtKey mentioned this pull request Nov 27, 2023
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