NM-TAFE / dip-programming-prj-advanced-gui-awesome

Creative Commons Zero v1.0 Universal
0 stars 5 forks source link

Adjusting large if statement block to switch case instead #42

Open Isaac-Saleh opened 3 weeks ago

Isaac-Saleh commented 3 weeks ago

The app/web_cli.py method "parse_command" is employing a large collection of if statements where a switch case may be better for memory usage.

Screenshot 2024-06-12 at 3 03 52 pm