Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor parseTokenList function for optimization
- Replaced substring with slice for clearer token extraction. - Simplified token parsing by combining space, comma, and end-of-string checks in a single condition. - Removed unnecessary end tracking variable, utilizing index directly for efficiency. - Streamlined the token list generation by combining the logic for handling the final token.
- Loading branch information