We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Svc/CmdDispatcher
/Svc/CmdDispatcher
Have CmdDispatcher use a hash table to store command opcode registrations and to look up opcodes for dispatching.
CmdDispatcher
The current implementation uses a linear search to find a registration slot:
https://github.com/nasa/fprime/blob/devel/Svc/CmdDispatcher/CommandDispatcherImpl.cpp#L30
Likewise, when an opcode is received, the same linear search is made to dispatch it:
This approach won't scale well for large numbers of commands, so a hash table (like the one on Svc/TlmChan would make the lookups faster.
Svc/TlmChan
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/Svc/CmdDispatcher
Feature Description
Have
CmdDispatcher
use a hash table to store command opcode registrations and to look up opcodes for dispatching.Rationale
The current implementation uses a linear search to find a registration slot:
https://github.com/nasa/fprime/blob/devel/Svc/CmdDispatcher/CommandDispatcherImpl.cpp#L30
Likewise, when an opcode is received, the same linear search is made to dispatch it:
https://github.com/nasa/fprime/blob/devel/Svc/CmdDispatcher/CommandDispatcherImpl.cpp#L30
This approach won't scale well for large numbers of commands, so a hash table (like the one on
Svc/TlmChan
would make the lookups faster.The text was updated successfully, but these errors were encountered: