refactor(server): pass ParsedArgs through command dispatch#7763
Conversation
PR Summary by QodoRefactor command dispatch to pass ParsedArgs end-to-end
AI Description
Diagram
High-Level Assessment
Files changed (15)
|
🤖 Augment PR SummarySummary: Refactors server command dispatch to pass Changes:
Technical Notes: The refactor relies on 🤖 Was this summary useful? React with 👍 or 👎 |
Code Review by Qodo
1. ParsedArgs assign reallocations
|
1ea91c7 to
663f9e6
Compare
Thread facade::ParsedArgs through command invocation paths so dispatch no longer bounces through CmdArgList scratch buffers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Roman Gershman <roman@dragonflydb.io>
663f9e6 to
2228cb0
Compare
|
I'll use this in #7648 |
…db#7763) Thread facade::ParsedArgs through command invocation paths so dispatch no longer bounces through CmdArgList scratch buffers. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Summary
Thread
facade::ParsedArgsthrough command invocation paths so dispatch no longer bounces throughCmdArgListscratch buffers.Changes
Service::InvokeCmd,CommandId::Invoke, slowlog recording, EXEC, EVAL async storage, and squashed dispatch to useParsedArgsdirectly.CmdArgParserinstead of rebuilding argument slices.ParsedArgs::ToSlice/ToVecand related scratch helpers.