-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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(collection): optimisations #10552
Open
Renegade334
wants to merge
11
commits into
discordjs:main
Choose a base branch
from
Renegade334:collection-optimisations
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 621df06 - Browse repository at this point
Copy the full SHA 621df06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff27da - Browse repository at this point
Copy the full SHA 3ff27daView commit details -
perf:
last[Key]()
: order of operations- do not perform iterable-to-array until required - test ! before <
Configuration menu - View commit details
-
Copy full SHA for 8a7ce37 - Browse repository at this point
Copy the full SHA 8a7ce37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 788de50 - Browse repository at this point
Copy the full SHA 788de50View commit details -
Configuration menu - View commit details
-
Copy full SHA for b13d9b2 - Browse repository at this point
Copy the full SHA b13d9b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9052bf4 - Browse repository at this point
Copy the full SHA 9052bf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed4d3c - Browse repository at this point
Copy the full SHA 9ed4d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c1e9e - Browse repository at this point
Copy the full SHA 64c1e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bffad5 - Browse repository at this point
Copy the full SHA 7bffad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for efdbc7f - Browse repository at this point
Copy the full SHA efdbc7fView commit details -
perf:
random[Key]()
: use{at,keyAt}()
for single value- skip iterable-to-array for returning single value - short-circuit if amount or collection size is zero
Configuration menu - View commit details
-
Copy full SHA for b93437c - Browse repository at this point
Copy the full SHA b93437cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.