nasa / nasa/SC

Streamline SC_GetNextRtsCommand and SC_ParseRts

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
46
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Both functions use temporary buffers and potentially unnecessary copies.

Imported from GSFCCFS-1471

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the definitions and callers of SC_GetNextRtsCommand and SC_ParseRts, then trace how their temporary buffers are used. Compare the current data flow and copying behavior before deciding whether the functions can be streamlined. Done means the behavior remains unchanged while unnecessary temporary buffers or copies are removed and the relevant project tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.