04-12-2017, 07:28 AM
(This post was last modified: 09-01-2022, 01:05 AM by Fearless Community. Edited 1 time in total.
Edit Reason: Checked Encoding
)
Hey, nice program.
I was looking at the source code and noticed many massive clumps of if statements checking the condition of one variable, most being location.
As you are coding in C++ you can use the switch statement to reduce the size and increase the efficiency of these checks.
I was looking at the source code and noticed many massive clumps of if statements checking the condition of one variable, most being location.
As you are coding in C++ you can use the switch statement to reduce the size and increase the efficiency of these checks.
![[Image: KInLxEm.png]](https://i.imgur.com/KInLxEm.png)