gopenfusion/tools
CPunch 7d83732e44 genstructs.py: refactor; use match/case statement
- lol, i had no idea python *FINALLY* added a switch/case equivalent.
sadly though, it looks like the generated python bytecode is
nearly identical in performance.
there's no lookup table magic for match/case, and is almost
identical to if/else if/else. it amounts to syntax sugar 😭
2023-11-22 16:02:00 -06:00
..
genstructs.py genstructs.py: refactor; use match/case statement 2023-11-22 16:02:00 -06:00