Skip to content

Conversation

barvirm
Copy link
Contributor

@barvirm barvirm commented Aug 11, 2025

Refactor GetSetArgument for clarity and performance

  • Use a switch instead of multiple if/else
  • Reserve initial capacity for tapeOffsets to reduce reallocations
  • Replace while(true) with while(depth > 0) for clearer loop termination
  • Group similar token parsing logic to reduce code duplication

@beachtom beachtom merged commit 32352a0 into ThatOpen:main Aug 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants