-
Notifications
You must be signed in to change notification settings - Fork 274
Problem: GetStoreKeys is not pre-allocated #1782
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
Conversation
WalkthroughThe change updates the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant App
Caller->>App: Call GetStoreKeys()
App->>App: Calculate capacity = len(keys) + len(tkeys) + len(memKeys) + len(okeys)
App->>App: Append keys from each collection
App->>App: Sort the keys
App-->>Caller: Return sorted keys
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for your review |
can you sign the commit? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1782 +/- ##
===========================================
+ Coverage 16.87% 35.54% +18.66%
===========================================
Files 72 127 +55
Lines 6163 11961 +5798
===========================================
+ Hits 1040 4251 +3211
- Misses 5000 7282 +2282
- Partials 123 428 +305 🚀 New features to boost your workflow:
|
Thank you. signed |
You need to recreate the old commit as well. |
Thank you. signed again. |
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make)make test)go fmt)golangci-lint run)go list -json -m all | nancy sleuth)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit